From c339ba46e814952434320f90b56e2984325c70c2 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 12 May 2014 14:36:57 +0200 Subject: [PATCH] lib/util: s/daemon/name daemon() is a public function... Signed-off-by: Stefan Metzmacher --- lib/util/become_daemon.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/util/become_daemon.c b/lib/util/become_daemon.c index 35c8b32..5d3c54c 100644 --- a/lib/util/become_daemon.c +++ b/lib/util/become_daemon.c @@ -125,13 +125,13 @@ _PUBLIC_ void exit_daemon(const char *msg, int error) exit(1); } -_PUBLIC_ void daemon_ready(const char *daemon) +_PUBLIC_ void daemon_ready(const char *name) { - if (daemon == NULL) { - daemon = "Samba"; + if (name == NULL) { + name = "Samba"; } #ifdef HAVE_SYSTEMD - sd_notifyf(0, "READY=1\nSTATUS=%s: ready to serve connections...", daemon); + sd_notifyf(0, "READY=1\nSTATUS=%s: ready to serve connections...", name); #endif - DEBUG(0, ("STATUS=daemon '%s' finished starting up and ready to serve connections", daemon)); + DEBUG(0, ("STATUS=daemon '%s' finished starting up and ready to serve connections", name)); } -- 1.7.9.5