summaryrefslogtreecommitdiff
path: root/apps/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/misc.c')
-rw-r--r--apps/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/misc.c b/apps/misc.c
index c41f63456c..22f71507ba 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -920,7 +920,7 @@ int open_utf8(const char* pathname, int flags)
920 int fd; 920 int fd;
921 unsigned char bom[BOM_SIZE]; 921 unsigned char bom[BOM_SIZE];
922 922
923 fd = open(pathname, flags); 923 fd = open(pathname, flags, 0666);
924 if(fd < 0) 924 if(fd < 0)
925 return fd; 925 return fd;
926 926