From ad552e587f21bf00013d41d48737009a20be6479 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 1 Jan 2018 05:24:41 +0100 Subject: [PATCH] analyze: fix prototype mismatch on libseccomp-less builds (#7768) This fixes a compiler warning that matters, if people build systemd without libseccomp. Follow-up for a6bcef29579409872735a2cfbf77d1c61ea91332 --- src/analyze/analyze.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c index 93bc9c0273e..f5146f8ce72 100644 --- a/src/analyze/analyze.c +++ b/src/analyze/analyze.c @@ -1449,7 +1449,7 @@ static int dump_syscall_filters(int argc, char *argv[], void *userdata) { } #else -static int dump_syscall_filters(char** names) { +static int dump_syscall_filters(int argc, char *argv[], void *userdata) { log_error("Not compiled with syscall filters, sorry."); return -EOPNOTSUPP; }