diff options
Diffstat (limited to 'usr.bin/patch')
-rw-r--r-- | usr.bin/patch/patch.c | 2 | ||||
-rw-r--r-- | usr.bin/patch/util.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/patch/patch.c b/usr.bin/patch/patch.c index 14aca68..9a97e8d 100644 --- a/usr.bin/patch/patch.c +++ b/usr.bin/patch/patch.c @@ -634,7 +634,7 @@ usage(void) " [-r rej-name] [-V t | nil | never] [-x number] [-z backup-ext]\n" " [--posix] [origfile [patchfile]]\n" " patch <patchfile\n"); - my_exit(EXIT_SUCCESS); + my_exit(EXIT_FAILURE); } /* diff --git a/usr.bin/patch/util.c b/usr.bin/patch/util.c index 6980676..6b9bef8 100644 --- a/usr.bin/patch/util.c +++ b/usr.bin/patch/util.c @@ -412,7 +412,7 @@ checked_in(char *file) void version(void) { - fprintf(stderr, "patch 2.0-12u10 FreeBSD\n"); + printf("patch 2.0-12u10 FreeBSD\n"); my_exit(EXIT_SUCCESS); } |