From cdd3881c1b301f3cd1035ca1eedf2bfcc37e4403 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 19 Mar 2008 12:26:09 +0000 Subject: Return scheduled services correctly. --- src/librc/librc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } -- cgit v1.2.3