diff options
author | Fred Barclay <Fred-Barclay@users.noreply.github.com> | 2017-05-24 14:13:52 -0500 |
---|---|---|
committer | Fred Barclay <Fred-Barclay@users.noreply.github.com> | 2017-05-24 14:13:52 -0500 |
commit | 96c920e166b40bbe50f216e294f2efac154a1cb2 (patch) | |
tree | fa80a34e81863ab897f2f2b8ec4124b10d023516 /src/faudit/syscall.c | |
parent | remove trailing whitespace from etc/ (diff) | |
download | firejail-96c920e166b40bbe50f216e294f2efac154a1cb2.tar.gz firejail-96c920e166b40bbe50f216e294f2efac154a1cb2.tar.zst firejail-96c920e166b40bbe50f216e294f2efac154a1cb2.zip |
Remove trailing whitespace from src/
Diffstat (limited to 'src/faudit/syscall.c')
-rw-r--r-- | src/faudit/syscall.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/faudit/syscall.c b/src/faudit/syscall.c index 40b1ecc84..2925a6c30 100644 --- a/src/faudit/syscall.c +++ b/src/faudit/syscall.c | |||
@@ -33,7 +33,7 @@ extern int pivot_root(const char *new_root, const char *put_old); | |||
33 | 33 | ||
34 | void syscall_helper(int argc, char **argv) { | 34 | 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 | int rv = mount(NULL, NULL, NULL, 0, NULL); | 38 | int rv = mount(NULL, NULL, NULL, 0, NULL); |
39 | (void) rv; | 39 | (void) rv; |
@@ -87,7 +87,7 @@ void syscall_helper(int argc, char **argv) { | |||
87 | 87 | ||
88 | void syscall_run(const char *name) { | 88 | void syscall_run(const char *name) { |
89 | assert(prog); | 89 | assert(prog); |
90 | 90 | ||
91 | pid_t child = fork(); | 91 | pid_t child = fork(); |
92 | if (child < 0) | 92 | if (child < 0) |
93 | errExit("fork"); | 93 | errExit("fork"); |
@@ -96,7 +96,7 @@ void syscall_run(const char *name) { | |||
96 | perror("execl"); | 96 | perror("execl"); |
97 | _exit(1); | 97 | _exit(1); |
98 | } | 98 | } |
99 | 99 | ||
100 | // wait for the child to finish | 100 | // wait for the child to finish |
101 | waitpid(child, NULL, 0); | 101 | waitpid(child, NULL, 0); |
102 | } | 102 | } |