aboutsummaryrefslogtreecommitdiff
path: root/src/librc/librc.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-03-19 12:26:09 +0000
committerRoy Marples <roy@marples.name>2008-03-19 12:26:09 +0000
commitcdd3881c1b301f3cd1035ca1eedf2bfcc37e4403 (patch)
treee61d9099e67a5b2ff9025aa255dcba6cf0651d63 /src/librc/librc.c
parent773d50dabbc3ce5c4b2553388813eaea90247b51 (diff)
Return scheduled services correctly.
Diffstat (limited to 'src/librc/librc.c')
-rw-r--r--src/librc/librc.c2
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);
}