From 89ab1f286e7c9c5f21109eaf351e5e3c195fb337 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Mon, 1 Aug 2011 05:34:46 +0200 Subject: doom: open /dev/audio with OWRITE instead of ORDWR --- sys/src/games/doom/i_sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.3