diff options
-rw-r--r-- | src/librc/librc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librc/librc.c b/src/librc/librc.c index 75b0e412..1a1c6639 100644 --- a/src/librc/librc.c +++ b/src/librc/librc.c @@ -966,7 +966,7 @@ RC_STRINGLIST *rc_services_scheduled(const char *service) { char dir[PATH_MAX]; - snprintf(dir, sizeof(dir), "RC_SVCDIR/scheduled/%s", + snprintf(dir, sizeof(dir), RC_SVCDIR "/scheduled/%s", basename_c(service)); return ls_dir(dir, LS_INITD); } |