summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-02-28 21:37:39 +0000
committerRoger Dingledine <arma@torproject.org>2008-02-28 21:37:39 +0000
commit04efc74e18fd79af337dcbc2ee5631184601e5a5 (patch)
tree3bbfe16599ddea46c811c2df673354a8949ae220 /src/common
parenteefe2a3562eeedeb8a185b1c7f313181c391ec31 (diff)
downloadtor-04efc74e18fd79af337dcbc2ee5631184601e5a5.tar.gz
tor-04efc74e18fd79af337dcbc2ee5631184601e5a5.zip
be a little bit more helpful than "Error reading directory."
make a note to try to be more helpful still. svn:r13776
Diffstat (limited to 'src/common')
-rw-r--r--src/common/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c
index e263908c19..e3a2615731 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -2108,7 +2108,8 @@ tor_listdir(const char *dirname)
}
if (!FindNextFile(handle, &findData)) {
if (GetLastError() != ERROR_NO_MORE_FILES) {
- log_warn(LD_FS, "Error reading directory.");
+ /* XXX021 can we say what the error is? */
+ log_warn(LD_FS, "Error reading directory '%s'.", dirname);
}
break;
}