diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-03-23 01:09:18 +0000 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-03-23 01:09:18 +0000 |
commit | 298854f02963bd8e43dfeb7224d88cfeb0c932cb (patch) | |
tree | 7a2fbb55e55f980edddb0d627c3f3e79c8f793b0 /util-linux/fdflush.c | |
parent | ec5bd90916b6e815a36c14ac04d1b78e3e487400 (diff) | |
download | busybox-w32-298854f02963bd8e43dfeb7224d88cfeb0c932cb.tar.gz busybox-w32-298854f02963bd8e43dfeb7224d88cfeb0c932cb.tar.bz2 busybox-w32-298854f02963bd8e43dfeb7224d88cfeb0c932cb.zip |
My latest ramblings.
-Erik
Diffstat (limited to 'util-linux/fdflush.c')
-rw-r--r-- | util-linux/fdflush.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util-linux/fdflush.c b/util-linux/fdflush.c index 0b154c8a6..201cea898 100644 --- a/util-linux/fdflush.c +++ b/util-linux/fdflush.c | |||
@@ -44,7 +44,9 @@ extern int fdflush_main(int argc, char **argv) | |||
44 | } | 44 | } |
45 | 45 | ||
46 | value = ioctl(fd, FDFLUSH, 0); | 46 | value = ioctl(fd, FDFLUSH, 0); |
47 | close(fd); | 47 | /* Don't bother closing. Exit does |
48 | * that, so we can save a few bytes */ | ||
49 | /* close(fd); */ | ||
48 | 50 | ||
49 | if (value) { | 51 | if (value) { |
50 | perror(*argv); | 52 | perror(*argv); |