diff options
author | Andreas Schneider <asn@samba.org> | 2019-03-07 12:31:42 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2019-03-13 12:15:10 +0000 |
commit | 00ea6a7d24ed7f6fbbc585a73755070f38d07a2a (patch) | |
tree | b69e4d1ca42efff1ced77c6024c4cd03c4a507e8 /lib | |
parent | 6d901af0f1ca5ffe349f50c72ad33987f009a73f (diff) | |
download | samba-00ea6a7d24ed7f6fbbc585a73755070f38d07a2a.tar.gz |
lib:util: Move debug message for mkdir failing to log level 1
If you connnect to a host with smbclient this gets always printed.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13823
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit c71334ec0c92e791022a9b7c900aa0dd649226c2)
Autobuild-User(v4-10-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-10-test): Wed Mar 13 12:15:10 UTC 2019 on sn-devel-144
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/util/util.c b/lib/util/util.c index f52f69c6ef0..dc1772c839e 100644 --- a/lib/util/util.c +++ b/lib/util/util.c @@ -200,9 +200,9 @@ _PUBLIC_ bool directory_create_or_exist(const char *dname, old_umask = umask(0); ret = mkdir(dname, dir_perms); if (ret == -1 && errno != EEXIST) { - DEBUG(0, ("mkdir failed on directory " - "%s: %s\n", dname, - strerror(errno))); + DBG_WARNING("mkdir failed on directory %s: %s\n", + dname, + strerror(errno)); umask(old_umask); return false; } |