diff options
author | netblue30 <netblue30@yahoo.com> | 2016-11-27 18:10:50 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-11-27 18:10:50 -0500 |
commit | 4ea68a4e03592d1c685f760f66eebe3018536416 (patch) | |
tree | 950649bfa28b6f56bb4991c46eed8bd2ca3eae40 /src/faudit | |
parent | fixes (diff) | |
download | firejail-4ea68a4e03592d1c685f760f66eebe3018536416.tar.gz firejail-4ea68a4e03592d1c685f760f66eebe3018536416.tar.zst firejail-4ea68a4e03592d1c685f760f66eebe3018536416.zip |
cleanup
Diffstat (limited to 'src/faudit')
-rw-r--r-- | src/faudit/syscall.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/faudit/syscall.c b/src/faudit/syscall.c index 3c87305df..4cd2526ba 100644 --- a/src/faudit/syscall.c +++ b/src/faudit/syscall.c | |||
@@ -35,7 +35,8 @@ void syscall_helper(int argc, char **argv) { | |||
35 | (void) argc; | 35 | (void) argc; |
36 | 36 | ||
37 | if (strcmp(argv[2], "mount") == 0) { | 37 | if (strcmp(argv[2], "mount") == 0) { |
38 | mount(NULL, NULL, NULL, 0, NULL); | 38 | int rv = mount(NULL, NULL, NULL, 0, NULL); |
39 | (void) rv; | ||
39 | printf("\nUGLY: mount syscall permitted.\n"); | 40 | printf("\nUGLY: mount syscall permitted.\n"); |
40 | } | 41 | } |
41 | else if (strcmp(argv[2], "umount2") == 0) { | 42 | else if (strcmp(argv[2], "umount2") == 0) { |