diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-03-03 13:41:24 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-03-03 13:41:24 +0000 |
commit | 1cc47287b2be4247046a7ec77d0b6eb3dd19d0cb (patch) | |
tree | 3145312f593a4b1d42e4f71dbd04c0bf0fdc891d | |
parent | 23636759ba4593d4323a07b973bf0bc13ffe8ce1 (diff) |
Fix inaccuracies in comments.
-rw-r--r-- | sbin/swapctl/swapctl.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sbin/swapctl/swapctl.c b/sbin/swapctl/swapctl.c index 33b7e28bdea..486bbe11678 100644 --- a/sbin/swapctl/swapctl.c +++ b/sbin/swapctl/swapctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: swapctl.c,v 1.10 2002/07/03 22:32:33 deraadt Exp $ */ +/* $OpenBSD: swapctl.c,v 1.11 2003/03/03 13:41:23 miod Exp $ */ /* $NetBSD: swapctl.c,v 1.9 1998/07/26 20:23:15 mycroft Exp $ */ /* @@ -34,13 +34,13 @@ * -A add all devices listed as `sw' in /etc/fstab * -t [blk|noblk] if -A, add either all block device or all non-block * devices - * -a <dev> add this device - * -d <dev> remove this swap device (not supported yet) + * -a <path> add this device + * -d <path> remove this swap device * -l list swap devices * -s short listing of swap devices * -k use kilobytes * -p <pri> use this priority - * -c change priority + * -c <path> change priority * * or, if invoked as "swapon" (compatibility mode): * @@ -108,7 +108,6 @@ int pri; /* uses 0 as default pri */ static void change_priority(char *); static void add_swap(char *); static void del_swap(char *); - int main(int, char *[]); static void do_fstab(void); static void usage(void); static int swapon_command(int, char **); |