diff options
Diffstat (limited to 'apps/plugins/wavrecord.c')
| -rw-r--r-- | apps/plugins/wavrecord.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/wavrecord.c b/apps/plugins/wavrecord.c index 732a7b7..a8aab92 100644 --- a/apps/plugins/wavrecord.c +++ b/apps/plugins/wavrecord.c @@ -3492,7 +3492,7 @@ static int record_file(char *filename) {8, 32000}, {9, 44100}, {10, 48000} }; - fd = rb->open(filename, O_RDWR|O_CREAT|O_TRUNC); + fd = rb->open(filename, O_RDWR|O_CREAT|O_TRUNC, 0666); if (fd < 0) { rb->splash(2*HZ, "Couldn't create WAV file"); |