aboutsummaryrefslogtreecommitdiffstats
path: root/src/firejail/fs_lib.c
diff options
context:
space:
mode:
authorLibravatar Fred-Barclay <Fred-Barclay@users.noreply.github.com>2017-11-19 15:02:42 -0600
committerLibravatar Fred-Barclay <Fred-Barclay@users.noreply.github.com>2017-11-19 15:02:42 -0600
commitb936e5ab77dfa0b54b2f6f6dd53762a8244e4230 (patch)
treeedb7237ba54d7c2a85a8531c8901d6466c5e0e4d /src/firejail/fs_lib.c
parentMore qtox profile tightening (diff)
downloadfirejail-b936e5ab77dfa0b54b2f6f6dd53762a8244e4230.tar.gz
firejail-b936e5ab77dfa0b54b2f6f6dd53762a8244e4230.tar.zst
firejail-b936e5ab77dfa0b54b2f6f6dd53762a8244e4230.zip
strip trailing whitespace
Diffstat (limited to 'src/firejail/fs_lib.c')
-rw-r--r--src/firejail/fs_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/firejail/fs_lib.c b/src/firejail/fs_lib.c
index 46ee22bf3..4cb8ed1c2 100644
--- a/src/firejail/fs_lib.c
+++ b/src/firejail/fs_lib.c
@@ -46,7 +46,7 @@ static void report_duplication(const char *full_path) {
46 char *fname = strrchr(full_path, '/'); 46 char *fname = strrchr(full_path, '/');
47 if (fname && *(++fname) != '\0') { 47 if (fname && *(++fname) != '\0') {
48 // report the file on all bin paths 48 // report the file on all bin paths
49 int i = 0; 49 int i = 0;
50 while (lib_paths[i]) { 50 while (lib_paths[i]) {
51 char *p; 51 char *p;
52 if (asprintf(&p, "%s/%s", lib_paths[i], fname) == -1) 52 if (asprintf(&p, "%s/%s", lib_paths[i], fname) == -1)
@@ -91,7 +91,7 @@ void fslib_duplicate(const char *full_path) {
91 return; 91 return;
92 } 92 }
93 free(name); 93 free(name);
94 94
95 if (arg_debug || arg_debug_private_lib) 95 if (arg_debug || arg_debug_private_lib)
96 printf("copying %s to private %s\n", full_path, dest_dir); 96 printf("copying %s to private %s\n", full_path, dest_dir);
97 97