summaryrefslogtreecommitdiff
path: root/apps/plugins/wavrecord.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/wavrecord.c')
-rw-r--r--apps/plugins/wavrecord.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/wavrecord.c b/apps/plugins/wavrecord.c
index 732a7b7645..a8aab92113 100644
--- a/apps/plugins/wavrecord.c
+++ b/apps/plugins/wavrecord.c
@@ -3492,7 +3492,7 @@ static int record_file(char *filename)
3492 {8, 32000}, {9, 44100}, {10, 48000} 3492 {8, 32000}, {9, 44100}, {10, 48000}
3493 }; 3493 };
3494 3494
3495 fd = rb->open(filename, O_RDWR|O_CREAT|O_TRUNC); 3495 fd = rb->open(filename, O_RDWR|O_CREAT|O_TRUNC, 0666);
3496 if (fd < 0) 3496 if (fd < 0)
3497 { 3497 {
3498 rb->splash(2*HZ, "Couldn't create WAV file"); 3498 rb->splash(2*HZ, "Couldn't create WAV file");