summaryrefslogtreecommitdiff
path: root/src/ls.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-12-17 05:08:40 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-12-17 05:08:40 +0000
commitc4e4091ea4111a925f102e735b64943b22e920fc (patch)
tree73fa1e87ea3c350bb070098518fc5b9462ffb7c2 /src/ls.c
parent4d2bb0f15f8dad6913ccac2ed0340207d3019274 (diff)
downloadcoreutils-c4e4091ea4111a925f102e735b64943b22e920fc.tar.xz
(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.
Diffstat (limited to 'src/ls.c')
-rw-r--r--src/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ls.c b/src/ls.c
index b04ca1cb2..7a5d32769 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;
}