summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/od.c2
-rw-r--r--src/shuf.c2
2 files changed, 2 insertions, 2 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);
}
diff --git a/src/shuf.c b/src/shuf.c
index 4f4ca1c78..67b19af15 100644
--- a/src/shuf.c
+++ b/src/shuf.c
@@ -355,7 +355,7 @@ main (int argc, char **argv)
{
if (n_operands)
{
- error (0, 0, _("extra operand %s\n"), quote (operand[0]));
+ error (0, 0, _("extra operand %s"), quote (operand[0]));
usage (EXIT_FAILURE);
}
n_lines = hi_input - lo_input + 1;