summaryrefslogtreecommitdiffstats
path: root/perl-install/c/stuff.xs.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-12-04 18:14:48 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-12-04 18:14:48 +0000
commitf537a2be258f73a5d8b9a4102ef22f86848709b1 (patch)
tree797a6f10c88001ff748345196a675f1c9280dbcf /perl-install/c/stuff.xs.pm
parentfcf8032ac38795c132522c4be513385f45b8e066 (diff)
downloaddrakx-backup-do-not-use-f537a2be258f73a5d8b9a4102ef22f86848709b1.tar
drakx-backup-do-not-use-f537a2be258f73a5d8b9a4102ef22f86848709b1.tar.gz
drakx-backup-do-not-use-f537a2be258f73a5d8b9a4102ef22f86848709b1.tar.bz2
drakx-backup-do-not-use-f537a2be258f73a5d8b9a4102ef22f86848709b1.tar.xz
drakx-backup-do-not-use-f537a2be258f73a5d8b9a4102ef22f86848709b1.zip
floppy_info: add missing close(fd)
Diffstat (limited to 'perl-install/c/stuff.xs.pm')
-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