diff options
Diffstat (limited to 'src/firejail/rlimit.c')
-rw-r--r-- | src/firejail/rlimit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/firejail/rlimit.c b/src/firejail/rlimit.c index 5e30e56a3..bf63bae38 100644 --- a/src/firejail/rlimit.c +++ b/src/firejail/rlimit.c | |||
@@ -33,7 +33,7 @@ void set_rlimits(void) { | |||
33 | if (setrlimit(RLIMIT_NOFILE, &rl) == -1) | 33 | if (setrlimit(RLIMIT_NOFILE, &rl) == -1) |
34 | errExit("setrlimit"); | 34 | errExit("setrlimit"); |
35 | if (arg_debug) | 35 | if (arg_debug) |
36 | printf("Config rlimit: number of open file descriptors %u\n", cfg.rlimit_nofile); | 36 | printf("Config rlimit: number of open file descriptors %llu\n", cfg.rlimit_nofile); |
37 | } | 37 | } |
38 | 38 | ||
39 | if (arg_rlimit_nproc) { | 39 | if (arg_rlimit_nproc) { |
@@ -45,7 +45,7 @@ void set_rlimits(void) { | |||
45 | if (setrlimit(RLIMIT_NPROC, &rl) == -1) | 45 | if (setrlimit(RLIMIT_NPROC, &rl) == -1) |
46 | errExit("setrlimit"); | 46 | errExit("setrlimit"); |
47 | if (arg_debug) | 47 | if (arg_debug) |
48 | printf("Config rlimit: number of processes %u\n", cfg.rlimit_nproc); | 48 | printf("Config rlimit: number of processes %llu\n", cfg.rlimit_nproc); |
49 | } | 49 | } |
50 | 50 | ||
51 | if (arg_rlimit_fsize) { | 51 | if (arg_rlimit_fsize) { |
@@ -57,7 +57,7 @@ void set_rlimits(void) { | |||
57 | if (setrlimit(RLIMIT_FSIZE, &rl) == -1) | 57 | if (setrlimit(RLIMIT_FSIZE, &rl) == -1) |
58 | errExit("setrlimit"); | 58 | errExit("setrlimit"); |
59 | if (arg_debug) | 59 | if (arg_debug) |
60 | printf("Config rlimit: maximum file size %u\n", cfg.rlimit_fsize); | 60 | printf("Config rlimit: maximum file size %llu\n", cfg.rlimit_fsize); |
61 | } | 61 | } |
62 | 62 | ||
63 | if (arg_rlimit_sigpending) { | 63 | if (arg_rlimit_sigpending) { |
@@ -69,6 +69,6 @@ void set_rlimits(void) { | |||
69 | if (setrlimit(RLIMIT_SIGPENDING, &rl) == -1) | 69 | if (setrlimit(RLIMIT_SIGPENDING, &rl) == -1) |
70 | errExit("setrlimit"); | 70 | errExit("setrlimit"); |
71 | if (arg_debug) | 71 | if (arg_debug) |
72 | printf("Config rlimit: maximum number of signals pending %u\n", cfg.rlimit_sigpending); | 72 | printf("Config rlimit: maximum number of signals pending %llu\n", cfg.rlimit_sigpending); |
73 | } | 73 | } |
74 | } | 74 | } |