summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrhodes <trhodes@FreeBSD.org>2003-10-29 21:21:09 +0000
committertrhodes <trhodes@FreeBSD.org>2003-10-29 21:21:09 +0000
commitfbda80e75418e58807f4ab427248709c80b8d456 (patch)
tree5af8269d791db119c8e76b897afca8ce7505b5fd
parent3fd708125c90c5c1c6c1b580faeed27376b68952 (diff)
downloadFreeBSD-src-fbda80e75418e58807f4ab427248709c80b8d456.zip
FreeBSD-src-fbda80e75418e58807f4ab427248709c80b8d456.tar.gz
Properly prototype C function usage().
Sync usage() with the manual page: s/file/snapshot_name/g.
-rw-r--r--sbin/mksnap_ffs/mksnap_ffs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/mksnap_ffs/mksnap_ffs.c b/sbin/mksnap_ffs/mksnap_ffs.c
index 1c3fb61..132843b 100644
--- a/sbin/mksnap_ffs/mksnap_ffs.c
+++ b/sbin/mksnap_ffs/mksnap_ffs.c
@@ -49,11 +49,13 @@
#include <sysexits.h>
#include <unistd.h>
+void usage(void);
+
void
usage()
{
- fprintf(stderr, "usage: mksnap_ffs mountpoint file\n");
+ fprintf(stderr, "usage: mksnap_ffs mountpoint snapshot_name\n");
exit(EX_USAGE);
}
OpenPOWER on IntegriCloud