aboutsummaryrefslogtreecommitdiffstats
path: root/src/faudit/syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/faudit/syscall.c')
-rw-r--r--src/faudit/syscall.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/faudit/syscall.c b/src/faudit/syscall.c
index 2925a6c30..9661f81e6 100644
--- a/src/faudit/syscall.c
+++ b/src/faudit/syscall.c
@@ -34,6 +34,9 @@ extern int pivot_root(const char *new_root, const char *put_old);
34void syscall_helper(int argc, char **argv) { 34void syscall_helper(int argc, char **argv) {
35 (void) argc; 35 (void) argc;
36 36
37 if (argc < 3)
38 return;
39
37 if (strcmp(argv[2], "mount") == 0) { 40 if (strcmp(argv[2], "mount") == 0) {
38 int rv = mount(NULL, NULL, NULL, 0, NULL); 41 int rv = mount(NULL, NULL, NULL, 0, NULL);
39 (void) rv; 42 (void) rv;