From f7b22a4764de898eef9ada813baa5c7f4a8f2c07 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Mon, 10 Sep 2018 09:00:39 -0400 Subject: cleanup --- src/fseccomp/syscall.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/fseccomp') 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-70-g09d2