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:
parent
dc0c2e2512
commit
ad552e587f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user