From 447b5d9320e22eed51cd64b8de766ccb1686f230 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 30 Jan 2012 12:48:20 +0100 Subject: 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. --- src/sort.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/sort.c b/src/sort.c index 219598ec9..6875a6a93 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. */ -- cgit v1.2.3-54-g00ecf