1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 16:59:03 +03:00

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 a6bcef2957
This commit is contained in:
Lennart Poettering 2018-01-01 05:24:41 +01:00 committed by Yu Watanabe
parent dc0c2e2512
commit ad552e587f

View File

@ -1449,7 +1449,7 @@ static int dump_syscall_filters(int argc, char *argv[], void *userdata) {
} }
#else #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."); log_error("Not compiled with syscall filters, sorry.");
return -EOPNOTSUPP; return -EOPNOTSUPP;
} }