aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/firejail/fs.c4
-rw-r--r--src/firejail/fs_whitelist.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/firejail/fs.c b/src/firejail/fs.c
index 4d2711fcd..d9a860722 100644
--- a/src/firejail/fs.c
+++ b/src/firejail/fs.c
@@ -248,7 +248,7 @@ static void disable_file(OPERATION op, const char *filename) {
248 char* fname = realpath(filename, NULL); 248 char* fname = realpath(filename, NULL);
249 if (fname == NULL && errno != EACCES) { 249 if (fname == NULL && errno != EACCES) {
250 if (arg_debug) 250 if (arg_debug)
251 printf("Warning: %s is an invalid file, skipping...\n", filename); 251 printf("Warning (realpath): %s is an invalid file, skipping...\n", filename);
252 return; 252 return;
253 } 253 }
254 if (fname == NULL && errno == EACCES) { 254 if (fname == NULL && errno == EACCES) {
@@ -275,7 +275,7 @@ static void disable_file(OPERATION op, const char *filename) {
275 } 275 }
276 else { 276 else {
277 if (arg_debug) 277 if (arg_debug)
278 printf("Warning: %s is an invalid file, skipping...\n", filename); 278 printf("Warning (blacklisting): %s is an invalid file, skipping...\n", filename);
279 } 279 }
280 280
281 return; 281 return;
diff --git a/src/firejail/fs_whitelist.c b/src/firejail/fs_whitelist.c
index d394ba704..dce044cb7 100644
--- a/src/firejail/fs_whitelist.c
+++ b/src/firejail/fs_whitelist.c
@@ -249,7 +249,7 @@ static void whitelist_path(ProfileEntry *entry) {
249 } 249 }
250 else { 250 else {
251 if (arg_debug || arg_debug_whitelists) { 251 if (arg_debug || arg_debug_whitelists) {
252 fprintf(stderr, "Warning: %s is an invalid file, skipping...\n", path); 252 fprintf(stderr, "Warning (whitelisting): %s is an invalid file, skipping...\n", path);
253 } 253 }
254 return; 254 return;
255 } 255 }