summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2013-05-29 05:52:58 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2013-05-29 05:54:00 (GMT)
commitb8db03a6a39669086314a1aec8b03bc747d05c91 (patch) (side-by-side diff)
tree29c58ebb2ab9a0e3f889b5d5d40ecda2fee3a0ac
parentc7104b4639abc562c16463f620e8412fc4ebc341 (diff)
downloaddirevent-b8db03a6a39669086314a1aec8b03bc747d05c91.tar.gz
direvent-b8db03a6a39669086314a1aec8b03bc747d05c91.tar.bz2
Bugfix
* watcher.c (watch_subdirs): Fix erroneous conversion specifier in the diagnostics message.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--watcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/watcher.c b/watcher.c
index b17602c..a5cf11b 100644
--- a/watcher.c
+++ b/watcher.c
@@ -329,7 +329,7 @@ watch_subdirs(struct dirwatcher *parent)
return;
dir = opendir(parent->dirname);
if (!dir) {
- diag(LOG_ERR, "cannot open directory %d: %s",
+ diag(LOG_ERR, "cannot open directory %s: %s",
parent->dirname, strerror(errno));
return;
}

Return to:

Send suggestions and report system problems to the System administrator.