diff options
Diffstat (limited to 'toys')
-rw-r--r-- | toys/posix/cmp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/toys/posix/cmp.c b/toys/posix/cmp.c index f4c34091..1a8f6900 100644 --- a/toys/posix/cmp.c +++ b/toys/posix/cmp.c @@ -4,7 +4,7 @@ * * See http://opengroup.org/onlinepubs/9699919799/utilities/cmp.html -USE_CMP(NEWTOY(cmp, "<2>2ls[!ls]", TOYFLAG_USR|TOYFLAG_BIN)) +USE_CMP(NEWTOY(cmp, "<2>2ls(silent)(quiet)[!ls]", TOYFLAG_USR|TOYFLAG_BIN)) config CMP bool "cmp" @@ -26,8 +26,6 @@ GLOBALS( char *name; ) -// This handles opening the file and - static void do_cmp(int fd, char *name) { int i, len1, len2, min_len, size = sizeof(toybuf)/2; |