summaryrefslogtreecommitdiff
path: root/src/common/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/util.c')
-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;
}