summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/util.c b/lib/util/util.c
index 464fc62e1f..7962c1e2ea 100644
--- a/lib/util/util.c
+++ b/lib/util/util.c
@@ -235,7 +235,7 @@ _PUBLIC_ bool directory_create_or_exist_strict(const char *dname,
if ((st.st_mode & 0777) != dir_perms) {
DEBUG(0, ("invalid permissions on directory "
"'%s': has 0%o should be 0%o\n", dname,
- (st.st_mode & 0777), dir_perms));
+ (unsigned int)(st.st_mode & 0777), (unsigned int)dir_perms));
return false;
}