summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/smbd/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smbd/server.c b/source4/smbd/server.c
index 4d1e70d68e..97b9bf8023 100644
--- a/source4/smbd/server.c
+++ b/source4/smbd/server.c
@@ -177,7 +177,7 @@ static int binary_smbd_main(const char *binary_name, int argc, const char *argv[
poptFreeContext(pc);
- setup_logging(argv[0], interactive?DEBUG_STDOUT:DEBUG_FILE);
+ setup_logging(binary_name, interactive?DEBUG_STDOUT:DEBUG_FILE);
setup_signals();
/* we want total control over the permissions on created files,