summaryrefslogtreecommitdiffstats
path: root/disk-utils/fdisk-menu.c
diff options
context:
space:
mode:
authorBenno Schulenberg2015-01-18 21:17:09 +0100
committerKarel Zak2015-01-26 11:17:55 +0100
commit54fefa078e54718acbd2489b0f92328f272f9a3c (patch)
treeb568d511dcdfba35be9bd36ba15c65ec9d7e78a3 /disk-utils/fdisk-menu.c
parentdocs: fix grammar and punctuation and typos in 2.26 release notes (diff)
downloadkernel-qcow2-util-linux-54fefa078e54718acbd2489b0f92328f272f9a3c.tar.gz
kernel-qcow2-util-linux-54fefa078e54718acbd2489b0f92328f272f9a3c.tar.xz
kernel-qcow2-util-linux-54fefa078e54718acbd2489b0f92328f272f9a3c.zip
textual: fix spellos and inconsistencies in several program messages
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'disk-utils/fdisk-menu.c')
-rw-r--r--disk-utils/fdisk-menu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/disk-utils/fdisk-menu.c b/disk-utils/fdisk-menu.c
index a8af7b837..64e7ba144 100644
--- a/disk-utils/fdisk-menu.c
+++ b/disk-utils/fdisk-menu.c
@@ -459,7 +459,7 @@ static int script_read(struct fdisk_context *cxt)
errno = 0;
sc = fdisk_new_script_from_file(cxt, filename);
if (!sc && errno)
- fdisk_warn(cxt, _("Cannot open: %s"), filename);
+ fdisk_warn(cxt, _("Cannot open %s"), filename);
else if (!sc)
fdisk_warnx(cxt, _("Failed to parse script file %s"), filename);
else if (fdisk_apply_script(cxt, sc) != 0)
@@ -491,13 +491,13 @@ static int script_write(struct fdisk_context *cxt)
rc = fdisk_script_read_context(sc, NULL);
if (rc) {
- fdisk_warnx(cxt, _("Failed to read disk layout into script."));
+ fdisk_warnx(cxt, _("Failed to transform disk layout into script"));
goto done;
}
f = fopen(filename, "w");
if (!f) {
- fdisk_warn(cxt, _("Cannot open: %s"), filename);
+ fdisk_warn(cxt, _("Cannot open %s"), filename);
goto done;
}