summaryrefslogtreecommitdiff
path: root/apps/plugins/crypt_firmware.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/crypt_firmware.c')
-rw-r--r--apps/plugins/crypt_firmware.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/crypt_firmware.c b/apps/plugins/crypt_firmware.c
index 36689b7..051a3d1 100644
--- a/apps/plugins/crypt_firmware.c
+++ b/apps/plugins/crypt_firmware.c
@@ -246,7 +246,7 @@ enum plugin_status plugin_start(const void* parameter)
memcpy(buf + 1, "nn2x", 4);
/* 4 - Write to disk */
- fd = rb->open(outputfilename,O_WRONLY|O_CREAT|O_TRUNC);
+ fd = rb->open(outputfilename,O_WRONLY|O_CREAT|O_TRUNC, 0666);
if (fd < 0) {
rb->splash(HZ*2, "Could not open output file");
@@ -307,7 +307,7 @@ enum plugin_status plugin_start(const void* parameter)
memcpy(buf + 1, "nn2g", 4);
/* 4 - Write to disk */
- fd = rb->open(outputfilename,O_WRONLY|O_CREAT|O_TRUNC);
+ fd = rb->open(outputfilename,O_WRONLY|O_CREAT|O_TRUNC, 0666);
if (fd < 0) {
rb->splash(HZ*2, "Could not open output file");