1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-01 17:51:22 +03:00

analyze: fix build w/o seccomp

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2016-11-03 14:33:49 -04:00
parent d5efc18b60
commit 1720590bfd

View File

@ -1276,6 +1276,7 @@ static int set_log_target(sd_bus *bus, char **args) {
return 0;
}
#ifdef HAVE_SECCOMP
static void dump_syscall_filter(const SyscallFilterSet *set) {
const char *syscall;
@ -1325,6 +1326,13 @@ static int dump_syscall_filters(char** names) {
return 0;
}
#else
static int dump_syscall_filters(char** names) {
log_error("Not compiled with syscall filters, sorry.");
return -EOPNOTSUPP;
}
#endif
static void help(void) {
pager_open(arg_no_pager, false);