aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ɓukasz P. Michalik <lmi@ift.uni.wroc.pl> 2012-04-13 08:30:03 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-04-13 17:28:34 +0100
commitdbe818536176b15eb9588e334711cf2dfad4a776 (patch)
tree423245e68db2dabd83683c25fb85b04bd53a22b3
parentf77a9e444fdb250d52efdcd5cbdb519f21f076e2 (diff)
downloadpaludis-dbe818536176b15eb9588e334711cf2dfad4a776.tar.gz
paludis-dbe818536176b15eb9588e334711cf2dfad4a776.tar.xz
state what actually went wrong
-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 5a21bf2..b4fd309 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]);