From c4e4091ea4111a925f102e735b64943b22e920fc Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 17 Dec 2004 05:08:40 +0000 Subject: [PATCH] (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. --- src/ls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.47.3