From: Jim Meyering Date: Mon, 30 Jan 2012 11:48:20 +0000 (+0100) Subject: maint: sort: remove the last uses of "'%s'" in diagnostics X-Git-Tag: v8.16~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=447b5d9320e22eed51cd64b8de766ccb1686f230;p=thirdparty%2Fcoreutils.git maint: sort: remove the last uses of "'%s'" in diagnostics * src/sort.c (key_warnings): Use quote (quote_n, since there are two) rather than literal single quotes ('%s') in diagnostic. --- diff --git a/src/sort.c b/src/sort.c index 219598ec90..6875a6a93d 100644 --- a/src/sort.c +++ b/src/sort.c @@ -2373,8 +2373,8 @@ key_warnings (struct keyfield const *gkey, bool gkey_only) umaxtostr (eword + 1 + (key->echar == SIZE_MAX), tmp)); } - error (0, 0, _("obsolescent key '%s' used; consider '%s' instead"), - obuf, nbuf); + error (0, 0, _("obsolescent key %s used; consider %s instead"), + quote_n (0, obuf), quote_n (1, nbuf)); } /* Warn about field specs that will never match. */