aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/fseccomp/seccomp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fseccomp/seccomp.c b/src/fseccomp/seccomp.c
index 577f3fdc9..c49681476 100644
--- a/src/fseccomp/seccomp.c
+++ b/src/fseccomp/seccomp.c
@@ -87,7 +87,7 @@ void seccomp_drop(const char *fname1, const char *fname2, char *list, int allow_
87 fprintf(stderr, "Error fseccomp: cannot build seccomp filter\n"); 87 fprintf(stderr, "Error fseccomp: cannot build seccomp filter\n");
88 exit(1); 88 exit(1);
89 } 89 }
90 filter_end_whitelist(fd); 90 filter_end_blacklist(fd);
91 // close file 91 // close file
92 close(fd); 92 close(fd);
93 93
@@ -107,7 +107,7 @@ void seccomp_drop(const char *fname1, const char *fname2, char *list, int allow_
107 fprintf(stderr, "Error fseccomp: cannot build seccomp filter\n"); 107 fprintf(stderr, "Error fseccomp: cannot build seccomp filter\n");
108 exit(1); 108 exit(1);
109 } 109 }
110 filter_end_whitelist(fd); 110 filter_end_blacklist(fd);
111 111
112 // close file 112 // close file
113 close(fd); 113 close(fd);