From 04efc74e18fd79af337dcbc2ee5631184601e5a5 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Thu, 28 Feb 2008 21:37:39 +0000 Subject: [PATCH] be a little bit more helpful than "Error reading directory." make a note to try to be more helpful still. svn:r13776 --- src/common/util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }