From: Lennart Poettering Date: Tue, 22 Feb 2022 10:40:53 +0000 (+0100) Subject: analyze: fix build on non-seccomp builds X-Git-Tag: v251-rc1~246 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c04c7c10c0cb42835f51d7f431842eb948119a67;p=thirdparty%2Fsystemd.git analyze: fix build on non-seccomp builds Follow-up for #22585 See: https://github.com/systemd/systemd/pull/22585#issuecomment-1047658990 --- diff --git a/src/analyze/analyze-syscall-filter.c b/src/analyze/analyze-syscall-filter.c index efe82c1a34c..50cd62a71c1 100644 --- a/src/analyze/analyze-syscall-filter.c +++ b/src/analyze/analyze-syscall-filter.c @@ -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