analyze: fix build on non-seccomp builds
Follow-up for #22585 See: https://github.com/systemd/systemd/pull/22585#issuecomment-1047658990
This commit is contained in:
@@ -185,7 +185,7 @@ int verb_syscall_filters(int argc, char *argv[], void *userdata) {
|
||||
}
|
||||
|
||||
#else
|
||||
int dump_syscall_filters(int argc, char *argv[], void *userdata) {
|
||||
int verb_syscall_filters(int argc, char *argv[], void *userdata) {
|
||||
return log_error_errno(SYNTHETIC_ERRNO(EOPNOTSUPP), "Not compiled with syscall filters, sorry.");
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user