From: Lennart Poettering Date: Mon, 1 Jan 2018 04:24:41 +0000 (+0100) Subject: analyze: fix prototype mismatch on libseccomp-less builds (#7768) X-Git-Tag: v237~162 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ad552e587f21bf00013d41d48737009a20be6479;p=thirdparty%2Fsystemd.git 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 --- 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; }