aboutsummaryrefslogtreecommitdiff
path: root/sbin/mksnap_ffs/mksnap_ffs.c
diff options
context:
space:
mode:
authorTom Rhodes <trhodes@FreeBSD.org>2003-10-29 21:21:09 +0000
committerTom Rhodes <trhodes@FreeBSD.org>2003-10-29 21:21:09 +0000
commit91b6ac7c44793a320961d4c5934225ceb4bf7c35 (patch)
tree5af8269d791db119c8e76b897afca8ce7505b5fd /sbin/mksnap_ffs/mksnap_ffs.c
parente8c321c92f3455c73fa431bbb7a3a62e60a97f8c (diff)
downloadsrc-91b6ac7c44793a320961d4c5934225ceb4bf7c35.tar.gz
src-91b6ac7c44793a320961d4c5934225ceb4bf7c35.zip
Properly prototype C function usage().
Sync usage() with the manual page: s/file/snapshot_name/g.
Notes
Notes: svn path=/head/; revision=121706
Diffstat (limited to 'sbin/mksnap_ffs/mksnap_ffs.c')
-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 1c3fb613e0aa..132843b84145 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);
}