From c04c7c10c0cb42835f51d7f431842eb948119a67 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 22 Feb 2022 11:40:53 +0100 Subject: [PATCH] analyze: fix build on non-seccomp builds Follow-up for #22585 See: https://github.com/systemd/systemd/pull/22585#issuecomment-1047658990 --- src/analyze/analyze-syscall-filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/analyze/analyze-syscall-filter.c b/src/analyze/analyze-syscall-filter.c index efe82c1a34..50cd62a71c 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