diff options
Diffstat (limited to 'src/rmdir.c')
-rw-r--r-- | src/rmdir.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rmdir.c b/src/rmdir.c index b9190a8..5170425 100644 --- a/src/rmdir.c +++ b/src/rmdir.c @@ -32,6 +32,7 @@ #include "findbranch.h" #include "string.h" #include "readdir.h" +#include "usyslog.h" /** * If the branch that has the directory to be removed is in read-write mode, @@ -69,7 +70,7 @@ static int rmdir_ro(const char *path, int branch_ro) { case (ENOTDIR): case (ENOTEMPTY): // catch errors not allowed for rmdir() - usyslog (LOG_ERR, "%s: Creating the whiteout failed: %s\n", + USYSLOG (LOG_ERR, "%s: Creating the whiteout failed: %s\n", __func__, strerror(errno)); errno = EFAULT; } |