diff options
-rw-r--r-- | sbin/fdisk/cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fdisk/cmd.c b/sbin/fdisk/cmd.c index d855ad929b5..db32b5abd02 100644 --- a/sbin/fdisk/cmd.c +++ b/sbin/fdisk/cmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.c,v 1.40 2006/04/26 17:10:43 deraadt Exp $ */ +/* $OpenBSD: cmd.c,v 1.41 2006/07/18 19:05:42 mbalmer Exp $ */ /* * Copyright (c) 1997 Tobias Weingartner @@ -114,7 +114,7 @@ Xswap(cmd_t *cmd, disk_t *disk, mbr_t *mbr, mbr_t *tt, int offset) return (ret); } - pt = ask_num("Swap with what paritition?", ASK_DEC, + pt = ask_num("Swap with what partition?", ASK_DEC, -1, 0, 3, NULL); if (pt < 0 || pt > 3) { printf("Invalid partition number %d.\n", pt); |