diff options
author | 2012-04-13 08:30:03 +0000 | |
---|---|---|
committer | 2012-04-13 17:28:34 +0100 | |
commit | dbe818536176b15eb9588e334711cf2dfad4a776 (patch) | |
tree | 423245e68db2dabd83683c25fb85b04bd53a22b3 | |
parent | f77a9e444fdb250d52efdcd5cbdb519f21f076e2 (diff) | |
download | paludis-dbe818536176b15eb9588e334711cf2dfad4a776.tar.gz paludis-dbe818536176b15eb9588e334711cf2dfad4a776.tar.xz |
state what actually went wrong
-rw-r--r-- | paludis/util/fs_iterator.cc | 2 |
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]); |