summaryrefslogtreecommitdiffstats
path: root/lib/util/become_daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util/become_daemon.c')
-rw-r--r--lib/util/become_daemon.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/util/become_daemon.c b/lib/util/become_daemon.c
index 35c8b3252b..5d3c54cad2 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));
}