getty, sulogin: convert to using bb_msg for syslog output

This commit is contained in:
Denis Vlasenko
2006-09-07 16:20:03 +00:00
parent b750dec40a
commit a9801658ee
14 changed files with 96 additions and 114 deletions

View File

@@ -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);
}