summaryrefslogtreecommitdiffstats
path: root/perl-install/devices.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/devices.pm')
-rw-r--r--perl-install/devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm
index 61d6bd4c7..19baec6f7 100644
--- a/perl-install/devices.pm
+++ b/perl-install/devices.pm
@@ -40,7 +40,7 @@ sub set_loop {
foreach (0..9) {
local *F;
- my $dev = devices::make("loop$_");
+ my $dev = make("loop$_");
sysopen F, $dev, 0 or next;
!ioctl(F, c::LOOP_GET_STATUS(), my $tmp) && $! == 6 or next; #- 6 == ENXIO
return c::set_loop(fileno F, $file) && $dev;