summaryrefslogtreecommitdiff
path: root/servicecmd/list.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-03-25 12:14:06 +0200
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-03-25 12:14:06 +0200
commita71c92b33dc69bc6cbc5eae161f82a5bca27a82f (patch)
tree917eaeb4b2460345e122a00cbc32c7398f438d39 /servicecmd/list.c
parenta108beaaf7b19198acbcc5435708d4ff0c8fb5df (diff)
Unify naming of service to shorthand svc
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
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;
}