diff options
author | Jim Meyering <meyering@fb.com> | 2014-05-25 21:16:44 -0700 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2014-05-28 08:43:04 -0700 |
commit | 591c7f6f39fff9126d7aa05c24e95961a91fd27f (patch) | |
tree | 375fd17c3e5964639a674c41ae9ec3a04cc927a0 /libparted/labels | |
parent | 2b59e3264fc517c432b926968eba8b85d5df788d (diff) | |
download | parted-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.c | 4 |
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 ""; } |