diff options
Diffstat (limited to 'src/firejail/sandbox.c')
-rw-r--r-- | src/firejail/sandbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/firejail/sandbox.c b/src/firejail/sandbox.c index 66881c040..2c28aa24b 100644 --- a/src/firejail/sandbox.c +++ b/src/firejail/sandbox.c | |||
@@ -250,7 +250,7 @@ static int monitor_application(pid_t app_pid) { | |||
250 | } | 250 | } |
251 | while(rv != monitored_pid); | 251 | while(rv != monitored_pid); |
252 | if (arg_debug) | 252 | if (arg_debug) |
253 | printf("Sandbox monitor: waitpid %u retval %d status %d\n", monitored_pid, rv, status); | 253 | printf("Sandbox monitor: waitpid %d retval %d status %d\n", monitored_pid, rv, status); |
254 | if (rv == -1) { // we can get here if we have processes joining the sandbox (ECHILD) | 254 | if (rv == -1) { // we can get here if we have processes joining the sandbox (ECHILD) |
255 | if (arg_debug) | 255 | if (arg_debug) |
256 | perror("waitpid"); | 256 | perror("waitpid"); |
@@ -294,7 +294,7 @@ static int monitor_application(pid_t app_pid) { | |||
294 | closedir(dir); | 294 | closedir(dir); |
295 | 295 | ||
296 | if (monitored_pid != 0 && arg_debug) | 296 | if (monitored_pid != 0 && arg_debug) |
297 | printf("Sandbox monitor: monitoring %u\n", monitored_pid); | 297 | printf("Sandbox monitor: monitoring %d\n", monitored_pid); |
298 | } | 298 | } |
299 | 299 | ||
300 | // return the latest exit status. | 300 | // return the latest exit status. |