aboutsummaryrefslogtreecommitdiffstats
path: root/src/firejail/profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/firejail/profile.c')
-rw-r--r--src/firejail/profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c
index 2ea32b665..d94e24ef6 100644
--- a/src/firejail/profile.c
+++ b/src/firejail/profile.c
@@ -1691,7 +1691,7 @@ void profile_read(const char *fname) {
1691 } 1691 }
1692 1692
1693 // open profile file: 1693 // open profile file:
1694 FILE *fp = fopen(fname, "r"); 1694 FILE *fp = fopen(fname, "re");
1695 if (fp == NULL) { 1695 if (fp == NULL) {
1696 fprintf(stderr, "Error: cannot open profile file %s\n", fname); 1696 fprintf(stderr, "Error: cannot open profile file %s\n", fname);
1697 exit(1); 1697 exit(1);