Fix error printing line terminator to stdout
This commit is contained in:
parent
2edf12fe34
commit
75ed1fe903
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue