diff options
author | Jeremy Allison <jra@samba.org> | 2015-10-27 17:08:50 -0700 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2015-11-06 12:33:21 +0100 |
commit | e70e7c1a135fc3c56091606223079affd545532e (patch) | |
tree | 2ec971b3cd8a62ecf856fbba57c8647f55fbf973 | |
parent | 88398fbe70866250566e2fdf74019cb5e91bbbb1 (diff) | |
download | samba-e70e7c1a135fc3c56091606223079affd545532e.tar.gz |
lib: util: Make non-critical message a warning.
Non-root utilities (e.g. bin/net) call this via messaging_init().
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11566
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 859e3415b38538ff6c023e4a56570d94a4fe4432)
-rw-r--r-- | lib/util/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util/util.c b/lib/util/util.c index 393d83d1673..d8a84dab6d2 100644 --- a/lib/util/util.c +++ b/lib/util/util.c @@ -275,8 +275,8 @@ _PUBLIC_ bool directory_create_or_exist_strict(const char *dname, return false; } if (st.st_uid != uid && !uid_wrapper_enabled()) { - DEBUG(0, ("invalid ownership on directory " - "%s\n", dname)); + DBG_NOTICE("invalid ownership on directory " + "%s\n", dname); return false; } if ((st.st_mode & 0777) != dir_perms) { |