Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-03-23 04:09:18 +0300
committerErik Andersen <andersen@codepoet.org>2000-03-23 04:09:18 +0300
commit298854f02963bd8e43dfeb7224d88cfeb0c932cb (patch)
tree7a2fbb55e55f980edddb0d627c3f3e79c8f793b0 /fdflush.c
parentec5bd90916b6e815a36c14ac04d1b78e3e487400 (diff)
My latest ramblings.
-Erik
Diffstat (limited to 'fdflush.c')
-rw-r--r--fdflush.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fdflush.c b/fdflush.c
index 0b154c8a6..201cea898 100644
--- a/fdflush.c
+++ b/fdflush.c
@@ -44,7 +44,9 @@ extern int fdflush_main(int argc, char **argv)
}
value = ioctl(fd, FDFLUSH, 0);
- close(fd);
+ /* Don't bother closing. Exit does
+ * that, so we can save a few bytes */
+ /* close(fd); */
if (value) {
perror(*argv);