diff options
author | Oto Šťáva <oto.stava@nic.cz> | 2023-02-02 08:47:25 +0100 |
---|---|---|
committer | Oto Šťáva <oto.stava@nic.cz> | 2023-02-02 08:47:25 +0100 |
commit | d4aa806906b1da2f7ded9182739553db9b4675e1 (patch) | |
tree | 9a4779d9e25a270a1be6603752691fdf9ece094d /daemon/main.c | |
parent | daemon/session2: fix memory leak at kresd stoppage (diff) | |
download | knot-resolver-d4aa806906b1da2f7ded9182739553db9b4675e1.tar.xz knot-resolver-d4aa806906b1da2f7ded9182739553db9b4675e1.zip |
daemon: documentation and warnings fixes
Diffstat (limited to 'daemon/main.c')
-rw-r--r-- | daemon/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/main.c b/daemon/main.c index 6d11c188..af7c920e 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -532,7 +532,7 @@ int main(int argc, char **argv) return EXIT_FAILURE; } /* Initialize the worker. */ - ret = worker_init(the_args->forks); + ret = worker_init(); if (ret != 0) { kr_log_error(SYSTEM, "failed to initialize worker: %s\n", kr_strerror(ret)); return EXIT_FAILURE; |