aboutsummaryrefslogtreecommitdiffstats
path: root/src/firejail/join.c
diff options
context:
space:
mode:
authorLibravatar startx2017 <vradu.startx@yandex.com>2017-04-13 08:20:08 -0400
committerLibravatar startx2017 <vradu.startx@yandex.com>2017-04-13 08:20:08 -0400
commit05e9768345dc3660974d2eecb0b5134d17b20434 (patch)
tree1f585c97ce51120186975fda5c490f00b44c5f3c /src/firejail/join.c
parentfix /sys handling for overlayfs and chroot (diff)
downloadfirejail-05e9768345dc3660974d2eecb0b5134d17b20434.tar.gz
firejail-05e9768345dc3660974d2eecb0b5134d17b20434.tar.zst
firejail-05e9768345dc3660974d2eecb0b5134d17b20434.zip
redirect all warnings to fwarning function and control the output with --quiet
Diffstat (limited to 'src/firejail/join.c')
-rw-r--r--src/firejail/join.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/join.c b/src/firejail/join.c
index a4b16ff8d..2f6f070e0 100644
--- a/src/firejail/join.c
+++ b/src/firejail/join.c
@@ -308,7 +308,7 @@ void join(pid_t pid, int argc, char **argv, int index) {
308 int rv = nice(cfg.nice); 308 int rv = nice(cfg.nice);
309 (void) rv; 309 (void) rv;
310 if (errno) { 310 if (errno) {
311 fprintf(stderr, "Warning: cannot set nice value\n"); 311 fwarning("cannot set nice value\n");
312 errno = 0; 312 errno = 0;
313 } 313 }
314 } 314 }