diff options
author | 2008-03-16 00:14:47 +0000 | |
---|---|---|
committer | 2008-03-16 00:14:47 +0000 | |
commit | 3f68e2a793e90cda789e25241bcf42679f547200 (patch) | |
tree | 6b10922006f5496aade8dcff16409f2a1bc107e3 | |
parent | provide sizeofa for counting the number of elements in an array. use it for (diff) | |
download | wireguard-openbsd-3f68e2a793e90cda789e25241bcf42679f547200.tar.xz wireguard-openbsd-3f68e2a793e90cda789e25241bcf42679f547200.zip |
usage statements are preceeded with usage:
ok reyk@
-rw-r--r-- | usr.sbin/snmpd/snmpd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/snmpd/snmpd.c b/usr.sbin/snmpd/snmpd.c index 6ede71ca0af..909b327a3fb 100644 --- a/usr.sbin/snmpd/snmpd.c +++ b/usr.sbin/snmpd/snmpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: snmpd.c,v 1.5 2008/02/16 22:06:10 sobrado Exp $ */ +/* $OpenBSD: snmpd.c,v 1.6 2008/03/16 00:14:47 dlg Exp $ */ /* * Copyright (c) 2007, 2008 Reyk Floeter <reyk@vantronix.net> @@ -84,7 +84,8 @@ usage(void) { extern char *__progname; - fprintf(stderr, "%s [-dNnv] [-D macro=value] [-f file]\n", __progname); + fprintf(stderr, "usage: %s [-dNnv] [-D macro=value] [-f file]\n", + __progname); exit(1); } |