aboutsummaryrefslogtreecommitdiffstats
path: root/disk-utils/cfdisk.c
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2014-07-15 13:12:23 +0200
committerKarel Zak <kzak@redhat.com>2014-07-15 13:12:23 +0200
commit33f7c502c62c7e0ed5362c352d6f43a61d159b7f (patch)
tree723faee19fe356a076775fbad7fec6a1eac65e66 /disk-utils/cfdisk.c
parentbfdb3244e3e5cb522ed029ba3c9c434433288a79 (diff)
downloadutil-linux-33f7c502c62c7e0ed5362c352d6f43a61d159b7f.tar.gz
cfdisk: fix warning usage, improve 's' help
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/cfdisk.c')
-rw-r--r--disk-utils/cfdisk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c
index 7fc9a2c5a8..06cfcab805 100644
--- a/disk-utils/cfdisk.c
+++ b/disk-utils/cfdisk.c
@@ -1617,7 +1617,7 @@ static int ui_help(void)
N_(" n Create new partition from free space"),
N_(" q Quit program without writing partition table"),
N_(" t Change the partition type"),
- N_(" s Fix partitions order"),
+ N_(" s Fix partitions order (only when in disarray)"),
N_(" W Write partition table to disk (must enter upper case W)"),
N_(" Since this might destroy data on the disk, you must"),
N_(" either confirm or deny the write by entering `yes' or"),
@@ -1795,7 +1795,7 @@ static int main_menu_action(struct cfdisk *cf, int key)
int rc;
if (fdisk_context_is_readonly(cf->cxt)) {
- ui_warnx(_("Device open in read-only mode"));
+ warn = _("Device open in read-only mode");
break;
}