summaryrefslogtreecommitdiff
path: root/util-linux/freeramdisk.c
diff options
context:
space:
mode:
authorErik Andersen2000-03-23 01:09:18 +0000
committerErik Andersen2000-03-23 01:09:18 +0000
commit298854f02963bd8e43dfeb7224d88cfeb0c932cb (patch)
tree7a2fbb55e55f980edddb0d627c3f3e79c8f793b0 /util-linux/freeramdisk.c
parentec5bd90916b6e815a36c14ac04d1b78e3e487400 (diff)
downloadbusybox-298854f02963bd8e43dfeb7224d88cfeb0c932cb.zip
busybox-298854f02963bd8e43dfeb7224d88cfeb0c932cb.tar.gz
My latest ramblings.
-Erik
Diffstat (limited to 'util-linux/freeramdisk.c')
-rw-r--r--util-linux/freeramdisk.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/util-linux/freeramdisk.c b/util-linux/freeramdisk.c
index 43d42d4..06937a7 100644
--- a/util-linux/freeramdisk.c
+++ b/util-linux/freeramdisk.c
@@ -55,7 +55,9 @@ freeramdisk_main(int argc, char **argv)
if (ioctl(f, BLKFLSBUF) < 0) {
fatalError( "freeramdisk: failed ioctl on %s: %s", rname, strerror(errno));
}
- close(f);
+ /* Don't bother closing. Exit does
+ * that, so we can save a few bytes */
+ /* close(f); */
exit(TRUE);
}