aboutsummaryrefslogtreecommitdiffstats
path: root/src/firejail/fs_lib.c
diff options
context:
space:
mode:
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