diff options
Diffstat (limited to 'src/firemon')
-rw-r--r-- | src/firemon/interface.c | 2 | ||||
-rw-r--r-- | src/firemon/procevent.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/firemon/interface.c b/src/firemon/interface.c index 5a89e1491..bceed93d3 100644 --- a/src/firemon/interface.c +++ b/src/firemon/interface.c | |||
@@ -146,7 +146,7 @@ static void print_sandbox(pid_t pid) { | |||
146 | return; | 146 | return; |
147 | net_ifprint(); | 147 | net_ifprint(); |
148 | printf("\n"); | 148 | printf("\n"); |
149 | exit(0); | 149 | _exit(0); |
150 | } | 150 | } |
151 | 151 | ||
152 | // wait for the child to finish | 152 | // wait for the child to finish |
diff --git a/src/firemon/procevent.c b/src/firemon/procevent.c index 188c10183..78a3a4fb2 100644 --- a/src/firemon/procevent.c +++ b/src/firemon/procevent.c | |||
@@ -28,6 +28,8 @@ | |||
28 | #include <arpa/inet.h> | 28 | #include <arpa/inet.h> |
29 | #include <time.h> | 29 | #include <time.h> |
30 | #include <fcntl.h> | 30 | #include <fcntl.h> |
31 | #include <sys/uio.h> | ||
32 | |||
31 | #define PIDS_BUFLEN 4096 | 33 | #define PIDS_BUFLEN 4096 |
32 | #define SERVER_PORT 889 // 889-899 is left unassigned by IANA | 34 | #define SERVER_PORT 889 // 889-899 is left unassigned by IANA |
33 | 35 | ||