ref: 89ab1f286e7c9c5f21109eaf351e5e3c195fb337
parent: 3a076c7a9556717bd5feed02bd9cd99bcef8b496
author: cinap_lenrek <cinap_lenrek@localhost>
date: Mon Aug 1 01:34:46 EDT 2011
doom: open /dev/audio with OWRITE instead of ORDWR
--- a/sys/src/games/doom/i_sound.c
+++ b/sys/src/games/doom/i_sound.c
@@ -131,7 +131,7 @@
{
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");