diff options
author | David Oberhollenzer <goliath@infraroot.at> | 2020-04-24 12:24:19 +0200 |
---|---|---|
committer | David Oberhollenzer <goliath@infraroot.at> | 2020-04-24 12:26:26 +0200 |
commit | 70ea16b0b4423f02e4f0c265320c336341363793 (patch) | |
tree | 53dd43046b11d099131b39853f428a1273f6beae /lib/init/svcscan.c | |
parent | 5f282897317df38bbd96ba567f3a4f1d2f259039 (diff) |
Cleanup: remove rdsvc flags
With the previous changes, there were only used by the status
command.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Diffstat (limited to 'lib/init/svcscan.c')
-rw-r--r-- | lib/init/svcscan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/init/svcscan.c b/lib/init/svcscan.c index 840d819..9fdf0bb 100644 --- a/lib/init/svcscan.c +++ b/lib/init/svcscan.c @@ -11,7 +11,7 @@ #include "service.h" -int svcscan(const char *directory, service_list_t *list, int flags) +int svcscan(const char *directory, service_list_t *list) { int i, dfd, type, ret = 0; struct dirent *ent; @@ -66,7 +66,7 @@ int svcscan(const char *directory, service_list_t *list, int flags) if (type != S_IFREG && type != S_IFLNK) continue; - svc = rdsvc(dfd, ent->d_name, flags); + svc = rdsvc(dfd, ent->d_name); if (svc == NULL) { ret = -1; continue; |