# HG changeset patch
# User voroshil
# Date 1162924778 0
# Node ID 1f37df331b35f01b6e3b1dc0a61384ecb7902339
# Parent  eb15b01a50cb01b7e8ff1b1c6d1252db29737fb4
Replace enneccesery O_RDWR with O_RDONLY

diff -r eb15b01a50cb -r 1f37df331b35 stream/stream_radio.c
--- a/stream/stream_radio.c	Tue Nov 07 18:27:40 2006 +0000
+++ b/stream/stream_radio.c	Tue Nov 07 18:39:38 2006 +0000
@@ -1011,7 +1011,7 @@
     stream->close=close_s;
     stream->fill_buffer=fill_buffer_s;
 
-    priv->radio_fd = open(radio_param_device, O_RDWR);
+    priv->radio_fd = open(radio_param_device, O_RDONLY);
     if (priv->radio_fd < 0) {
         mp_msg(MSGT_RADIO, MSGL_ERR, MSGTR_RADIO_UnableOpenDevice,
             radio_param_device, strerror(errno));