diff options
author | Roy Marples <roy@marples.name> | 2008-03-19 12:26:09 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-03-19 12:26:09 +0000 |
commit | cdd3881c1b301f3cd1035ca1eedf2bfcc37e4403 (patch) | |
tree | e61d9099e67a5b2ff9025aa255dcba6cf0651d63 /src | |
parent | 773d50dabbc3ce5c4b2553388813eaea90247b51 (diff) |
Return scheduled services correctly.
Diffstat (limited to 'src')
-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); } |