diff options
author | Eric Andersen | 1999-10-06 20:25:32 +0000 |
---|---|---|
committer | Eric Andersen | 1999-10-06 20:25:32 +0000 |
commit | 17d49efd8ce6507152d78a70574193bb1b313af6 (patch) | |
tree | 64e24302dc2575867d8a78897500e5a5b2a48398 /util-linux | |
parent | 9d3aba7b37b275350a9fe0887871da9ba73dcbd7 (diff) | |
download | busybox-17d49efd8ce6507152d78a70574193bb1b313af6.zip busybox-17d49efd8ce6507152d78a70574193bb1b313af6.tar.gz |
More stuff.
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/dmesg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c index a63fa3d..9096621 100644 --- a/util-linux/dmesg.c +++ b/util-linux/dmesg.c @@ -28,7 +28,7 @@ static inline _syscall3(int,klog,int,type,char *,b,int,len) const char dmesg_usage[] = "dmesg"; int -dmesg_main(struct FileInfo * info, int argc, char * * argv) +dmesg_main(int argc, char * * argv) { char buf[4096]; @@ -50,7 +50,7 @@ dmesg_main(struct FileInfo * info, int argc, char * * argv) break; case '?': default: - usage(dmesg_usage); + fprintf(stderr, "%s\n", dmesg_usage); exit(1); } } @@ -58,7 +58,7 @@ dmesg_main(struct FileInfo * info, int argc, char * * argv) argv += optind; if (argc > 1) { - usage(dmesg_usage); + fprintf(stderr, "%s\n", dmesg_usage); exit(1); } |