]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
analyze: fix prototype mismatch on libseccomp-less builds (#7768)
authorLennart Poettering <lennart@poettering.net>
Mon, 1 Jan 2018 04:24:41 +0000 (05:24 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 1 Jan 2018 04:24:41 +0000 (13:24 +0900)
This fixes a compiler warning that matters, if people build systemd
without libseccomp.

Follow-up for a6bcef29579409872735a2cfbf77d1c61ea91332

src/analyze/analyze.c

index 93bc9c0273e14286e9e9decd48e8692bfddc4f93..f5146f8ce723c0fe7f9e00e0bd8d6170a5aa7e05 100644 (file)
@@ -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;
 }