From e09da6a0a8cce14fea9a5b1b7e8b5c419f89915a Mon Sep 17 00:00:00 2001 From: netblue30 Date: Sun, 9 Sep 2018 18:28:54 -0400 Subject: remove seccomp warning --- src/fseccomp/syscall.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/fseccomp/syscall.c b/src/fseccomp/syscall.c index bc51d04f6..3b10c4473 100644 --- a/src/fseccomp/syscall.c +++ b/src/fseccomp/syscall.c @@ -495,10 +495,7 @@ int syscall_check_list(const char *slist, void (*callback)(int fd, int syscall, } else { syscall_process_name(ptr, &syscall_nr, &error_nr); - if (syscall_nr == -1) { - if (!arg_quiet) - fprintf(stderr, "Warning fseccomp: syscall \"%s\" not available on this platform\n", ptr); - } + if (syscall_nr == -1) {;} else if (callback != NULL) { if (error_nr != -1 && fd != 0) { filter_add_errno(fd, syscall_nr, error_nr, ptrarg); -- cgit v1.2.3-54-g00ecf