From d7b968eb2ca202fd1f4f194701c9bc58d7072fef Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 3 Jun 2005 07:33:02 +0000 Subject: fix pixel sucks --- perl-install/network/netconnect.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/network') diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 1982b0afe..defb3e571 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -1112,7 +1112,7 @@ set TxRate=0); $dvb_ad = $previous_ethntf->{DVB_ADAPTER_ID}; $dvb_net = $previous_ethntf->{DVB_NETWORK_DEMUX}; $dvb_pid = $previous_ethntf->{DVB_NETWORK_PID}; - if (my $device = find { sysopen(undef, $_, 2 | c::O_NONBLOCK()) } glob("/dev/dvb/adapter*/net*")) { + if (my $device = find { sysopen(undef, $_, c::O_RDWR | c::O_NONBLOCK()) } glob("/dev/dvb/adapter*/net*")) { ($dvb_ad, $dvb_net) = $device =~ m,/dev/dvb/adapter(\d+)/net(\d+),; } }, -- cgit v1.2.1