summaryrefslogtreecommitdiffstats
path: root/util/reaper.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/reaper.c')
-rw-r--r--util/reaper.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/util/reaper.c b/util/reaper.c
index d058cc55..f36a6b69 100644
--- a/util/reaper.c
+++ b/util/reaper.c
@@ -4,9 +4,10 @@
time4_t now;
-int check(int n, userec_t *u) {
+int check(void *data, int n, userec_t *u) {
time4_t d;
char buf[256];
+ (void)data;
if(u->userid[0] != '\0') {
if(!is_validuserid(u->userid)) {
@@ -46,7 +47,7 @@ int main(int argc, char **argv)
attach_SHM();
if(passwd_init())
exit(1);
- passwd_apply(check);
+ passwd_apply(NULL, check);
return 0;
}