aboutsummaryrefslogtreecommitdiffstats
path: root/src/fseccomp/syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fseccomp/syscall.c')
-rw-r--r--src/fseccomp/syscall.c5
1 files changed, 1 insertions, 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,
495 } 495 }
496 else { 496 else {
497 syscall_process_name(ptr, &syscall_nr, &error_nr); 497 syscall_process_name(ptr, &syscall_nr, &error_nr);
498 if (syscall_nr == -1) { 498 if (syscall_nr == -1) {;}
499 if (!arg_quiet)
500 fprintf(stderr, "Warning fseccomp: syscall \"%s\" not available on this platform\n", ptr);
501 }
502 else if (callback != NULL) { 499 else if (callback != NULL) {
503 if (error_nr != -1 && fd != 0) { 500 if (error_nr != -1 && fd != 0) {
504 filter_add_errno(fd, syscall_nr, error_nr, ptrarg); 501 filter_add_errno(fd, syscall_nr, error_nr, ptrarg);