diff options
Diffstat (limited to 'toys/posix')
-rw-r--r-- | toys/posix/ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/ps.c b/toys/posix/ps.c index 6035bd80..cf1f11c6 100644 --- a/toys/posix/ps.c +++ b/toys/posix/ps.c @@ -810,7 +810,7 @@ static int get_ps(struct dirtree *new) } s = buf; - if (strstart(&s, "/dev/")) memmove(buf, s, len -= 5); + if (strstart(&s, "/dev/")) memmove(buf, s, len -= 4); } // Data we want is in a file. |