aboutsummaryrefslogtreecommitdiff
path: root/servicecmd/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'servicecmd/list.c')
-rw-r--r--servicecmd/list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/servicecmd/list.c b/servicecmd/list.c
index 45d2b19..07153f2 100644
--- a/servicecmd/list.c
+++ b/servicecmd/list.c
@@ -53,7 +53,7 @@ static int cmd_list(int argc, char **argv)
if (check_arguments(argv[0], argc, 1, 2))
return EXIT_FAILURE;
- if (srvscan(SVCDIR, &list)) {
+ if (svcscan(SVCDIR, &list)) {
fprintf(stderr, "Error while reading services from %s\n",
SVCDIR);
ret = EXIT_FAILURE;
@@ -75,7 +75,7 @@ static int cmd_list(int argc, char **argv)
print_services(list.targets[i]);
}
out:
- del_srv_list(&list);
+ del_svc_list(&list);
return ret;
}