summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/games/doom/i_sound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/games/doom/i_sound.c b/sys/src/games/doom/i_sound.c
index ec4142e77..daa24a088 100644
--- a/sys/src/games/doom/i_sound.c
+++ b/sys/src/games/doom/i_sound.c
@@ -131,7 +131,7 @@ void I_InitSound(void)
{
int i;
- audio_fd = open("/dev/audio", ORDWR);
+ audio_fd = open("/dev/audio", OWRITE);
if(audio_fd < 0)
printf("WARN Failed to open /dev/audio, sound disabled\n");