From: Jim Meyering Date: Sun, 30 Jul 2000 16:33:08 +0000 (+0000) Subject: Convert "`%s'" in format strings to "%s", and wrap each X-Git-Tag: TEXTUTILS-2_0g~65 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=381ba4a26aeec0ad40f957ebeb2429e9df535d4c;p=thirdparty%2Fcoreutils.git Convert "`%s'" in format strings to "%s", and wrap each corresponding argument in a `quote (...)' call. --- diff --git a/src/shred.c b/src/shred.c index aa2da631e8..51ae50755e 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;