diff options
Diffstat (limited to 'firmware/target/sh/archos')
-rw-r--r-- | firmware/target/sh/archos/recorder/powermgmt-recorder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/sh/archos/recorder/powermgmt-recorder.c b/firmware/target/sh/archos/recorder/powermgmt-recorder.c index 7b1842016c..70373a30ec 100644 --- a/firmware/target/sh/archos/recorder/powermgmt-recorder.c +++ b/firmware/target/sh/archos/recorder/powermgmt-recorder.c | |||
@@ -125,7 +125,7 @@ static void debug_file_log(void) | |||
125 | debug_file_close(); | 125 | debug_file_close(); |
126 | } | 126 | } |
127 | else if (fd < 0) { | 127 | else if (fd < 0) { |
128 | fd = open(DEBUG_FILE_NAME, O_WRONLY | O_APPEND | O_CREAT); | 128 | fd = open(DEBUG_FILE_NAME, O_WRONLY | O_APPEND | O_CREAT, 0666); |
129 | 129 | ||
130 | if (fd >= 0) { | 130 | if (fd >= 0) { |
131 | snprintf(debug_message, DEBUG_MESSAGE_LEN, | 131 | snprintf(debug_message, DEBUG_MESSAGE_LEN, |