summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2007-07-17 18:26:06 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2007-07-17 18:26:06 +0000
commit2124997703a877840c68e95672b4ac7214b23886 (patch)
tree4fb9f7c68d6732d32f8668e165fe3a83ecf29d71
parente3e64a91f293359e8903215810677408a86267f0 (diff)
sync swapon usage(); from Igor Zinovik
-rw-r--r--sbin/swapctl/swapctl.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sbin/swapctl/swapctl.c b/sbin/swapctl/swapctl.c
index 09377308b4b..0b1c883cdf5 100644
--- a/sbin/swapctl/swapctl.c
+++ b/sbin/swapctl/swapctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: swapctl.c,v 1.15 2007/07/16 21:05:46 millert Exp $ */
+/* $OpenBSD: swapctl.c,v 1.16 2007/07/17 18:26:05 jmc Exp $ */
/* $NetBSD: swapctl.c,v 1.9 1998/07/26 20:23:15 mycroft Exp $ */
/*
@@ -282,9 +282,7 @@ swapon_command(int argc, char **argv)
return (0);
swapon_usage:
- fprintf(stderr, "usage: %s -a [-t blk|noblk]\n"
- " %s <path> ...\n",
- __progname, __progname);
+ fprintf(stderr, "usage: %s -a | path\n", __progname);
return (1);
}