diff options
| author | cinap_lenrek <cinap_lenrek@localhost> | 2011-08-01 05:34:46 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@localhost> | 2011-08-01 05:34:46 +0200 |
| commit | 89ab1f286e7c9c5f21109eaf351e5e3c195fb337 (patch) | |
| tree | 19110330b1708f041b5e629f40ce6002fa00b393 | |
| parent | 3a076c7a9556717bd5feed02bd9cd99bcef8b496 (diff) | |
| download | plan9front-89ab1f286e7c9c5f21109eaf351e5e3c195fb337.tar.xz | |
doom: open /dev/audio with OWRITE instead of ORDWR
| -rw-r--r-- | sys/src/games/doom/i_sound.c | 2 |
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"); |
