diff options
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/status.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/status.c b/source3/utils/status.c index 3f618dcd17..5c01409737 100644 --- a/source3/utils/status.c +++ b/source3/utils/status.c @@ -180,7 +180,7 @@ static int profile_dump(void) } -static int traverse_fn1(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DATA dbuf) +static int traverse_fn1(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DATA dbuf, void *state) { static pid_t last_pid; struct session_record *ptr; @@ -326,7 +326,7 @@ static int traverse_fn1(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DATA dbuf) printf("Service uid gid pid machine\n"); printf("----------------------------------------------\n"); } - tdb_traverse(tdb, traverse_fn1); + tdb_traverse(tdb, traverse_fn1, NULL); locks: if (processes_only) exit(0); |