summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-01-30 12:48:20 +0100
committerJim Meyering <meyering@redhat.com>2012-01-30 20:43:58 +0100
commit447b5d9320e22eed51cd64b8de766ccb1686f230 (patch)
treeb905143ccd29ea839acb759d57474847af97cf76
parentd1b0155d805ce51d8f155e648d1e9ad2edb95397 (diff)
downloadcoreutils-447b5d9320e22eed51cd64b8de766ccb1686f230.tar.xz
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.
-rw-r--r--src/sort.c4
1 files changed, 2 insertions, 2 deletions
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. */