From: Paul Eggert Date: Fri, 17 Dec 2004 05:08:40 +0000 (+0000) Subject: (print_dir): Use "%s: not listing already-listed X-Git-Tag: v5.3.0~118 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c4e4091ea4111a925f102e735b64943b22e920fc;p=thirdparty%2Fcoreutils.git (print_dir): Use "%s: not listing already-listed directory", not "not listing already-listed directory: %s", to format already-listed directories, to be consistent with other diagnostics involving file names and colons. --- diff --git a/src/ls.c b/src/ls.c index b04ca1cb2d..7a5d32769a 100644 --- a/src/ls.c +++ b/src/ls.c @@ -2280,7 +2280,7 @@ print_dir (char const *name, char const *realname, bool command_line_arg) we've found a loop, and do not process this directory. */ if (visit_dir (dir_stat.st_dev, dir_stat.st_ino)) { - error (0, 0, _("not listing already-listed directory: %s"), + error (0, 0, _("%s: not listing already-listed directory"), quotearg_colon (name)); return; }