summaryrefslogtreecommitdiff
path: root/sbin/disklabel
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-08-09 17:31:46 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-08-09 17:31:46 +0000
commit30d1b8945601aa29dea6d33c8a6bf30d77e6c373 (patch)
treef08be415b9f8f8d46ffbe04456136ad00a32a82f /sbin/disklabel
parent5493963493db47458cd96a7e5d2d8122a5e515ad (diff)
Improve the editor prompt for the 'R' (resize) command
from otto
Diffstat (limited to 'sbin/disklabel')
-rw-r--r--sbin/disklabel/editor.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/disklabel/editor.c b/sbin/disklabel/editor.c
index 425525873a3..509969a7c5d 100644
--- a/sbin/disklabel/editor.c
+++ b/sbin/disklabel/editor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: editor.c,v 1.241 2010/07/27 00:49:42 krw Exp $ */
+/* $OpenBSD: editor.c,v 1.242 2010/08/09 17:31:45 deraadt Exp $ */
/*
* Copyright (c) 1997-2000 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -726,7 +726,8 @@ editor_resize(struct disklabel *lp, char *p)
fputs("Cannot resize spoofed partition\n", stderr);
return;
}
- secs = getuint(lp, "resize", "amount to grow (+) or shrink (-)",
+ secs = getuint(lp, "grow (+) or shrink (-) (with unit)",
+ "amount to grow (+) or shrink (-) partition including unit",
0, editor_countfree(lp), 0, DO_CONVERSIONS);
if (secs == 0 || secs == -1) {