diff options
author | Jim Meyering <jim@meyering.net> | 2000-07-30 16:33:08 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-07-30 16:33:08 +0000 |
commit | 381ba4a26aeec0ad40f957ebeb2429e9df535d4c (patch) | |
tree | 73d4af7f3c961c9d0aeef207609585c55c9a574e | |
parent | 833008991079e8bee75a0ec87b5df51e5376af21 (diff) | |
download | coreutils-381ba4a26aeec0ad40f957ebeb2429e9df535d4c.tar.xz |
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
-rw-r--r-- | src/shred.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shred.c b/src/shred.c index aa2da631e..51ae50755 100644 --- a/src/shred.c +++ b/src/shred.c @@ -95,6 +95,7 @@ # include "error.h" # include "human.h" # include "quotearg.h" /* For quotearg_colon */ +# include "quote.h" /* For quotearg_colon */ # include "xalloc.h" char *xstrdup PARAMS ((char const *)); @@ -1608,7 +1609,8 @@ wipename (char *oldname, char const *qoldname, struct Options const *flags) * about renaming oldname. newname doesn't need * quoting because we picked it. */ - error (0, 0, _("%s: renamed to `%s'"), qoldname, newname); + error (0, 0, _("%s: renamed to %s"), qoldname, + quote (newname)); } memcpy (oldname + (base - newname), base, len + 1); break; |