dosmode: Change message of result to informational
authorChristof Schmitt <cs@samba.org>
Wed, 8 Jul 2015 21:40:25 +0000 (14:40 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 9 Jul 2015 13:36:30 +0000 (15:36 +0200)
Logging the returned mode bits should be only "informational" (level 5).

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jul  9 15:36:30 CEST 2015 on sn-devel-104

source3/smbd/dosmode.c

index 714a7f861f8d9ef9170969b002e2302fc06bedb1..72acd4edccc462a960f3eef26b7ae9d874dd3b4a 100644 (file)
@@ -192,8 +192,9 @@ mode_t unix_mode(connection_struct *conn, int dosmode,
                }
        }
 
-       DEBUG(3,("unix_mode(%s) returning 0%o\n", smb_fname_str_dbg(smb_fname),
-                (int)result));
+       DBG_INFO("unix_mode(%s) returning 0%o\n",
+                smb_fname_str_dbg(smb_fname), (int)result);
+
        return(result);
 }