summaryrefslogtreecommitdiff
path: root/libparted/labels
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2014-05-25 21:16:44 -0700
committerJim Meyering <meyering@fb.com>2014-05-28 08:43:04 -0700
commit591c7f6f39fff9126d7aa05c24e95961a91fd27f (patch)
tree375fd17c3e5964639a674c41ae9ec3a04cc927a0 /libparted/labels
parent2b59e3264fc517c432b926968eba8b85d5df788d (diff)
downloadparted-591c7f6f39fff9126d7aa05c24e95961a91fd27f.tar.gz
maint: fix "make syntax-check" nits
* doc/parted.texi: Update copyright year to 2014. * tests/gpt-header-move.py: Remove empty line at EOF. * tests/t0281-gpt-grow.sh: Correct reversed args to compare. * tests/t0282-gpt-move-backup.sh: Likewise. * libparted/labels/gpt.c (gpt_partition_set_name): Change "Can not" to "failed to" in diagnostic. (gpt_partition_get_name): Likewise. * tests/t1102-loop-label.sh (dev): Remove trailing space in here document that creates expected output, and strip that same trailing space from actual output. * libparted/fs/jfs/jfs.c: Do not cast alloca return value. * libparted/fs/reiserfs/reiserfs.c: Likewise. * libparted/fs/xfs/xfs.c: Likewise.
Diffstat (limited to 'libparted/labels')
-rw-r--r--libparted/labels/gpt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libparted/labels/gpt.c b/libparted/labels/gpt.c
index 76bf7e7..2a08a50 100644
--- a/libparted/labels/gpt.c
+++ b/libparted/labels/gpt.c
@@ -1896,7 +1896,7 @@ gpt_partition_set_name (PedPartition *part, const char *name)
err:
ped_exception_throw (PED_EXCEPTION_WARNING,
PED_EXCEPTION_IGNORE,
- _("Can not translate partition name"));
+ _("failed to translate partition name"));
iconv_close (conv);
}
@@ -1923,7 +1923,7 @@ gpt_partition_get_name (const PedPartition *part)
err:
ped_exception_throw (PED_EXCEPTION_WARNING,
PED_EXCEPTION_IGNORE,
- _("Can not translate partition name"));
+ _("failed to translate partition name"));
iconv_close (conv);
return "";
}