aboutsummaryrefslogtreecommitdiff
path: root/src/runscript.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-12-19 13:53:52 +0000
committerRoy Marples <roy@marples.name>2007-12-19 13:53:52 +0000
commit4022522a81852d845ec8479d229b915d293c97d6 (patch)
tree82467d52f34f90dec0dfbc4a28375f8416467aa3 /src/runscript.c
parentb3df16a03e169741e6e6fefa0d7d52c1482be599 (diff)
cbasename -> basename_c
Diffstat (limited to 'src/runscript.c')
-rw-r--r--src/runscript.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runscript.c b/src/runscript.c
index 6839497e..5c4a2a5e 100644
--- a/src/runscript.c
+++ b/src/runscript.c
@@ -519,7 +519,7 @@ static bool svc_wait (rc_depinfo_t *depinfo, const char *svc)
}
rc_strlist_free (keywords);
- fifo = rc_strcatpaths (RC_SVCDIR, "exclusive", cbasename (svc), (char *) NULL);
+ fifo = rc_strcatpaths (RC_SVCDIR, "exclusive", basename_c (svc), (char *) NULL);
ts.tv_sec = 0;
ts.tv_nsec = WAIT_INTERVAL;
@@ -1046,7 +1046,7 @@ int runscript (int argc, char **argv)
exit (EXIT_FAILURE);
}
- applet = cbasename (argv[1]);
+ applet = basename_c (argv[1]);
if (argc < 3)
usage (EXIT_FAILURE);