diff options
author | Jim Meyering <jim@meyering.net> | 2006-07-19 10:36:02 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-07-19 10:36:02 +0000 |
commit | 7d97c337a7c105414138dc12dbb1f6cd113d008d (patch) | |
tree | 2e864e85c00ba0271ba9ee8333eb1862a41b9540 | |
parent | 30e6fc491fc9199d146c2cbd8b3ca14c64eef59a (diff) | |
download | coreutils-7d97c337a7c105414138dc12dbb1f6cd113d008d.tar.xz |
* src/ls.c (print_dir): Give a better diagnostic for failed opendir.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/ls.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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> @@ -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; } |