diff options
author | Dave Reisner | 2012-05-23 22:35:58 +0200 |
---|---|---|
committer | Karel Zak | 2012-05-29 09:32:10 +0200 |
commit | 652add4c2cdd005fea8b5a5c198d31ecba5754ce (patch) | |
tree | 58c164b6be84433541f3dc37bae0c5befc5d0ad6 /misc-utils | |
parent | mount: (new) fix MS_REC usage (diff) | |
download | kernel-qcow2-util-linux-652add4c2cdd005fea8b5a5c198d31ecba5754ce.tar.gz kernel-qcow2-util-linux-652add4c2cdd005fea8b5a5c198d31ecba5754ce.tar.xz kernel-qcow2-util-linux-652add4c2cdd005fea8b5a5c198d31ecba5754ce.zip |
logger: avoid explicit fclose(stdout)
This is done for us via an atexit hook since c05a80ca6385b8. Avoids a
useless 'Write error' on exit whenever invoking the tool.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'misc-utils')
-rw-r--r-- | misc-utils/logger.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/misc-utils/logger.c b/misc-utils/logger.c index 067272ad4..19b4c479a 100644 --- a/misc-utils/logger.c +++ b/misc-utils/logger.c @@ -248,8 +248,6 @@ main(int argc, char **argv) { else LogSock = myopenlog(usock); - (void) fclose(stdout); - /* log input line if appropriate */ if (argc > 0) { register char *p, *endp; |