summaryrefslogtreecommitdiffhomepage
path: root/dmesg.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>1999-10-06 20:25:32 +0000
committerEric Andersen <andersen@codepoet.org>1999-10-06 20:25:32 +0000
commit17d49efd8ce6507152d78a70574193bb1b313af6 (patch)
tree64e24302dc2575867d8a78897500e5a5b2a48398 /dmesg.c
parent9d3aba7b37b275350a9fe0887871da9ba73dcbd7 (diff)
More stuff.
Diffstat (limited to 'dmesg.c')
-rw-r--r--dmesg.c6
1 files changed, 3 insertions, 3 deletions
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);
}