aboutsummaryrefslogtreecommitdiff
path: root/sbin/dmesg/dmesg.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2004-03-26 09:24:45 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2004-03-26 09:24:45 +0000
commit46fb2e1dbcdeee1dc210d168e1d124d7ce3cd1be (patch)
tree410ec19492722a48beb197ef77450fae55973bf7 /sbin/dmesg/dmesg.c
parent0b46bb97a70bdad7178c2ab77335adb89a1926fd (diff)
downloadsrc-46fb2e1dbcdeee1dc210d168e1d124d7ce3cd1be.tar.gz
src-46fb2e1dbcdeee1dc210d168e1d124d7ce3cd1be.zip
Not too much point specifying -N but not specifying -M.
Notes
Notes: svn path=/head/; revision=127448
Diffstat (limited to 'sbin/dmesg/dmesg.c')
-rw-r--r--sbin/dmesg/dmesg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dmesg/dmesg.c b/sbin/dmesg/dmesg.c
index 57f543bb6229..08cc732127cc 100644
--- a/sbin/dmesg/dmesg.c
+++ b/sbin/dmesg/dmesg.c
@@ -105,7 +105,7 @@ main(int argc, char *argv[])
argc -= optind;
argv += optind;
- if (memf == NULL && nlistf == NULL) {
+ if (memf == NULL) {
/*
* Running kernel. Use sysctl. This gives an unwrapped
* buffer as a side effect.
@@ -196,6 +196,6 @@ main(int argc, char *argv[])
void
usage(void)
{
- (void)fprintf(stderr, "usage: dmesg [-a] [-M core] [-N system]\n");
+ (void)fprintf(stderr, "usage: dmesg [-a] [-M core [-N system]]\n");
exit(1);
}