maint: sort: remove the last uses of "'%s'" in diagnostics
authorJim Meyering <meyering@redhat.com>
Mon, 30 Jan 2012 11:48:20 +0000 (12:48 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 30 Jan 2012 19:43:58 +0000 (20:43 +0100)
* src/sort.c (key_warnings): Use quote (quote_n, since there are two)
rather than literal single quotes ('%s') in diagnostic.

src/sort.c

index 219598e..6875a6a 100644 (file)
@@ -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.  */