aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paludis/util/fs_iterator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/util/fs_iterator.cc b/paludis/util/fs_iterator.cc
index 5a21bf209..b4fd3091b 100644
--- a/paludis/util/fs_iterator.cc
+++ b/paludis/util/fs_iterator.cc
@@ -80,7 +80,7 @@ FSIterator::FSIterator(const FSPath & base, const FSIteratorOptions & options) :
DIR * d(opendir(stringify(base).c_str()));
if (0 == d)
- throw FSError("Error opening directory '" + stringify(base) + "'");
+ throw FSError("Error opening directory '" + stringify(base) + "': " + stringify(::strerror(errno)));
bool have_any_special_wants(options[fsio_want_directories] || options[fsio_want_regular_files]);