summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/igt_audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_audio.c b/lib/igt_audio.c
index 5b0860e6..fd8cf07c 100644
--- a/lib/igt_audio.c
+++ b/lib/igt_audio.c
@@ -447,7 +447,7 @@ int audio_create_wav_file_s32_le(const char *qualifier, uint32_t sample_rate,
*path = strdup(_path);
igt_debug("Dumping %s audio to %s\n", qualifier, _path);
- fd = open(_path, O_WRONLY | O_CREAT | O_TRUNC);
+ fd = open(_path, O_WRONLY | O_CREAT | O_TRUNC, 0644);
if (fd < 0) {
igt_warn("open failed: %s\n", strerror(errno));
return -1;