summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/c/stuff.xs.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/c/stuff.xs.pm b/perl-install/c/stuff.xs.pm
index d0789c951..6db1a9039 100644
--- a/perl-install/c/stuff.xs.pm
+++ b/perl-install/c/stuff.xs.pm
@@ -265,6 +265,7 @@ floppy_info(name)
char drivtyp[17];
ioctl(fd, FDGETDRVTYP, (void *)drivtyp);
RETVAL = drivtyp;
+ close(fd);
}
OUTPUT:
RETVAL