aboutsummaryrefslogtreecommitdiff
path: root/src/librc-daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/librc-daemon.c')
-rw-r--r--src/librc-daemon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librc-daemon.c b/src/librc-daemon.c
index cc8e93ff..fe9509de 100644
--- a/src/librc-daemon.c
+++ b/src/librc-daemon.c
@@ -331,7 +331,7 @@ bool rc_service_daemon_set (const char *service, const char *exec,
}
dirpath = rc_strcatpaths (RC_SVCDIR, "daemons",
- cbasename (service), (char *) NULL);
+ basename_c (service), (char *) NULL);
if (exec) {
i = strlen (exec) + 6;
@@ -421,7 +421,7 @@ bool rc_service_started_daemon (const char *service, const char *exec,
if (! service || ! exec)
return (false);
- dirpath = rc_strcatpaths (RC_SVCDIR, "daemons", cbasename (service),
+ dirpath = rc_strcatpaths (RC_SVCDIR, "daemons", basename_c (service),
(char *) NULL);
i = strlen (exec) + 6;
@@ -473,7 +473,7 @@ bool rc_service_daemons_crashed (const char *service)
if (! service)
return (false);
- dirpath = rc_strcatpaths (RC_SVCDIR, "daemons", cbasename (service),
+ dirpath = rc_strcatpaths (RC_SVCDIR, "daemons", basename_c (service),
(char *) NULL);
if (! (dp = opendir (dirpath))) {