Hi, Attached patch fixes typos in some of the new message strings, and gives an argument in the fstrim man page a consistent form. (Sorry for the attachment; inlining appears to mangle tabs.) Please only apply before release of 2.19 if there is going to be an rc4. If there will be an rc4, I will send more small patches. (Please CC, not subscribed.) Regards, Benno -- http://www.fastmail.fm - Send your email first class
From 234439a9dff4ecfc3368b1f4e94dfa90af998815 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg <bensberg@xxxxxxxxxxxxx> Date: Mon, 31 Jan 2011 11:44:42 +0100 Subject: [PATCH] textual: fix three typos in message strings and improve consistency Signed-off-by: Benno Schulenberg <bensberg@xxxxxxxxxxxxx> --- misc-utils/lsblk.c | 2 +- partx/partx.c | 2 +- sys-utils/fstrim.8 | 2 +- sys-utils/fstrim.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/misc-utils/lsblk.c b/misc-utils/lsblk.c index 44358fd..7478de6 100644 --- a/misc-utils/lsblk.c +++ b/misc-utils/lsblk.c @@ -90,7 +90,7 @@ struct colinfo { /* columns descriptions */ static struct colinfo infos[__NCOLUMNS] = { [COL_NAME] = { "NAME", 0.25, TT_FL_TREE, N_("device name") }, - [COL_KNAME] = { "KNAME", 0.3, 0, N_("internel kernel device name") }, + [COL_KNAME] = { "KNAME", 0.3, 0, N_("internal kernel device name") }, [COL_MAJMIN] = { "MAJ:MIN", 6, 0, N_("major:minor device number") }, [COL_FSTYPE] = { "FSTYPE", 0.1, TT_FL_TRUNC, N_("filesystem type") }, [COL_TARGET] = { "MOUNTPOINT", 0.10, TT_FL_TRUNC, N_("where the device is mounted") }, diff --git a/partx/partx.c b/partx/partx.c index efb627f..d8054eb 100644 --- a/partx/partx.c +++ b/partx/partx.c @@ -775,7 +775,7 @@ int main(int argc, char **argv) usage(stderr); if (device && (upper || lower)) - errx(EXIT_FAILURE, _("--nr and <partition> are mutually exclusive}")); + errx(EXIT_FAILURE, _("--nr and <partition> are mutually exclusive")); assert(wholedisk); diff --git a/sys-utils/fstrim.8 b/sys-utils/fstrim.8 index 952f88f..1bca53b 100644 --- a/sys-utils/fstrim.8 +++ b/sys-utils/fstrim.8 @@ -9,7 +9,7 @@ fstrim \- discard unused blocks on a mounted filesystem .RB [ \-l .IR length ] .RB [ \-m -.IR minimum-extent ] +.IR minimum-free-extent ] .RB [ \-v ] .I mountpoint diff --git a/sys-utils/fstrim.c b/sys-utils/fstrim.c index 808ff03..d2d3867 100644 --- a/sys-utils/fstrim.c +++ b/sys-utils/fstrim.c @@ -110,7 +110,7 @@ int main(int argc, char **argv) case 'm': if (strtosize(optarg, &range.minlen)) errx(EXIT_FAILURE, - _("failed to parse minimal extend length: %s"), + _("failed to parse minimum extent length: %s"), optarg); break; case 'v': -- 1.6.3.3