1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-13 05:32:19 +02:00

* src/ls.c (print_dir): Give a better diagnostic for failed opendir.

This commit is contained in:
Jim Meyering
2006-07-19 10:36:02 +00:00
parent 30e6fc491f
commit 7d97c337a7
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -1,5 +1,7 @@
2006-07-19 Jim Meyering <jim@meyering.net>
* src/ls.c (print_dir): Give a better diagnostic for failed opendir.
* Makefile.am (EXTRA_DIST): Add build-aux/vc-list-files.
2006-07-16 Paul Eggert <eggert@cs.ucla.edu>
+1 -1
View File
@@ -2305,7 +2305,7 @@ print_dir (char const *name, char const *realname, bool command_line_arg)
dirp = opendir (name);
if (!dirp)
{
file_failure (command_line_arg, "%s", name);
file_failure (command_line_arg, _("cannot open directory %s"), name);
return;
}