]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(print_dir): Use "%s: not listing already-listed
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 17 Dec 2004 05:08:40 +0000 (05:08 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 17 Dec 2004 05:08:40 +0000 (05:08 +0000)
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

index b04ca1cb2d48ce308bc30c0ecc924551c27cb5e0..7a5d32769a43218a3d28df65fe23165d36203324 100644 (file)
--- 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;
        }