summaryrefslogtreecommitdiff
path: root/src/od.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-05-25 18:05:29 +0200
committerJim Meyering <meyering@redhat.com>2010-05-25 18:05:29 +0200
commit5d59808a65dc05c2777afb4b78128ca9db1ea78f (patch)
treee80122de6f26d174008bdd23c4c38671df95cb94 /src/od.c
parent55db9a39a818e82324e1304e5d886aa2cf137092 (diff)
downloadcoreutils-5d59808a65dc05c2777afb4b78128ca9db1ea78f.tar.xz
maint: don't emit an extra newline in each of two diagnostics
* src/shuf.c (main): Remove a stray newline in a diagnostic. * src/od.c (main): Likewise. Detected via these: git grep -A1 'error *(.*,$' | grep -C1 '\\n"[,)]' git grep 'error *(.*;$' | grep '\\n"[,)]'
Diffstat (limited to 'src/od.c')
-rw-r--r--src/od.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/od.c b/src/od.c
index 964552d97..45087253d 100644
--- a/src/od.c
+++ b/src/od.c
@@ -1800,7 +1800,7 @@ it must be one character from [doxn]"),
if (traditional && 1 < n_files)
{
error (0, 0, _("extra operand %s"), quote (argv[optind + 1]));
- error (0, 0, "%s\n",
+ error (0, 0, "%s",
_("compatibility mode supports at most one file"));
usage (EXIT_FAILURE);
}