summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-06-03 07:33:02 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-06-03 07:33:02 +0000
commitd7b968eb2ca202fd1f4f194701c9bc58d7072fef (patch)
tree8427055395d976548647e3cfadfd92eb9f2dc1ab /perl-install
parent14544725ef71fca34d005d549172c820f2d30e10 (diff)
downloaddrakx-d7b968eb2ca202fd1f4f194701c9bc58d7072fef.tar
drakx-d7b968eb2ca202fd1f4f194701c9bc58d7072fef.tar.gz
drakx-d7b968eb2ca202fd1f4f194701c9bc58d7072fef.tar.bz2
drakx-d7b968eb2ca202fd1f4f194701c9bc58d7072fef.tar.xz
drakx-d7b968eb2ca202fd1f4f194701c9bc58d7072fef.zip
fix pixel sucks
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/netconnect.pm2
1 files changed, 1 insertions, 1 deletions
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+),;
}
},