From 547f682c153cec96fd0eafa9c76407ed45b39901 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 26 Mar 2014 16:20:01 +0100 Subject: [PATCH] s3-smbd: Align debug level for the same information. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10388 Signed-off-by: Andreas Schneider Reviewed-by: Alexander Bokovoy Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Tue Apr 1 23:16:19 CEST 2014 on sn-devel-104 --- source3/smbd/server.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 9d6a250752b..29e688d3f01 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -1307,8 +1307,10 @@ extern void build_options(bool screen); #endif if (!is_daemon && !is_a_socket(0)) { - if (!interactive) - DEBUG(0,("standard input is not a socket, assuming -D option\n")); + if (!interactive) { + DEBUG(3, ("Standard input is not a socket, " + "assuming -D option\n")); + } /* * Setting is_daemon here prevents us from eventually calling @@ -1319,7 +1321,7 @@ extern void build_options(bool screen); } if (is_daemon && !interactive) { - DEBUG( 3, ( "Becoming a daemon.\n" ) ); + DEBUG(3, ("Becoming a daemon.\n")); become_daemon(Fork, no_process_group, log_stdout); }