Fix error printing line terminator to stdout

This commit is contained in:
Wilson Lin 2018-07-05 21:18:09 +12:00
parent 2edf12fe34
commit 75ed1fe903
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ void hbe_fatal(hbe_errcode_t errcode, char *fmt, ...) {
va_start(args, fmt);
fprintf(stderr, "[FATAL] hyperbuild encountered error %d:\n", errcode);
vfprintf(stderr, fmt, args);
printf("\n");
fprintf(stderr, "\n");
va_end(args);
exit(EXIT_FAILURE);
}