summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-10-20 10:12:55 +0200
committerStefan Metzmacher <metze@samba.org>2007-10-20 10:12:55 +0200
commit669d43af3159ad6be3e43361b2b40e3284821238 (patch)
tree6f84acbd0b0d0e494bfa46fb339a53009723a57c /source3
parent8f391ae47176f1acaef2e1f448b1c0168a069cf9 (diff)
downloadsamba-669d43af3159ad6be3e43361b2b40e3284821238.tar.gz
samba-669d43af3159ad6be3e43361b2b40e3284821238.tar.bz2
samba-669d43af3159ad6be3e43361b2b40e3284821238.zip
fix move to OPT_LOG_STDOUT
metze (This used to be commit 97f47e39139cef738a5f02980a0792417e0d365e)
Diffstat (limited to 'source3')
-rw-r--r--source3/nmbd/nmbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index 69117ee4ea..fe69587a4b 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -706,7 +706,7 @@ static bool open_sockets(bool isdaemon, int port)
{"interactive", 'i', POPT_ARG_NONE, NULL, OPT_INTERACTIVE, "Run interactive (not a daemon)" },
{"foreground", 'F', POPT_ARG_NONE, NULL, OPT_FORK, "Run daemon in foreground (for daemontools & etc)" },
{"no-process-group", 0, POPT_ARG_NONE, NULL, OPT_NO_PROCESS_GROUP, "Don't create a new process group" },
- {"log-stdout", 'S', POPT_ARG_VAL, &log_stdout, True, "Log to stdout" },
+ {"log-stdout", 'S', POPT_ARG_NONE, NULL, OPT_LOG_STDOUT, "Log to stdout" },
{"hosts", 'H', POPT_ARG_STRING, &p_lmhosts, 'H', "Load a netbios hosts file"},
{"port", 'p', POPT_ARG_INT, &global_nmb_port, NMB_PORT, "Listen on the specified port" },
POPT_COMMON_SAMBA