diff options
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/tools.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm index 01afc1bfa..51e4f2086 100644 --- a/perl-install/network/tools.pm +++ b/perl-install/network/tools.pm @@ -122,7 +122,7 @@ sub connected_bg { if (defined $kid_pipe) { local *F; *F = *$kid_pipe; - fcntl(F, c::F_SETFL, c::O_NONBLOCK) or die "can't fcntl F_SETFL: $!"; + fcntl(F, c::F_SETFL(), c::O_NONBLOCK()) or die "can't fcntl F_SETFL: $!"; my $a; if ($a = <F> ) { close($kid_pipe) || warn "kid exited $?"; |