diff options
author | Denis Vlasenko | 2006-09-07 16:20:03 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-09-07 16:20:03 +0000 |
commit | a9801658ee4b7f5717d145818428452f864e1015 (patch) | |
tree | f85bbdf6cb572751dee639feb9896cad3503b924 /libbb/xfuncs.c | |
parent | b750dec40a4bf013f98658b46925117d9d1d4811 (diff) | |
download | busybox-a9801658ee4b7f5717d145818428452f864e1015.zip busybox-a9801658ee4b7f5717d145818428452f864e1015.tar.gz |
getty, sulogin: convert to using bb_msg for syslog output
Diffstat (limited to 'libbb/xfuncs.c')
-rw-r--r-- | libbb/xfuncs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index 435379d..4bb05f2 100644 --- a/libbb/xfuncs.c +++ b/libbb/xfuncs.c @@ -408,7 +408,8 @@ char *xasprintf(const char *format, ...) void xprint_and_close_file(FILE *file) { // copyfd outputs error messages for us. - if (bb_copyfd_eof(fileno(file), 1) == -1) exit(bb_default_error_retval); + if (bb_copyfd_eof(fileno(file), 1) == -1) + exit(bb_default_error_retval); fclose(file); } |