From 17d49efd8ce6507152d78a70574193bb1b313af6 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 6 Oct 1999 20:25:32 +0000 Subject: More stuff. --- dmesg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dmesg.c') diff --git a/dmesg.c b/dmesg.c index a63fa3d39..9096621b0 100644 --- a/dmesg.c +++ b/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); } -- cgit v1.2.3