diff options
Diffstat (limited to 'io.c')
| -rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1094,7 +1094,7 @@ fatal(const struct span *span, const char *fmt, ...) va_start(ap, fmt); vdiag(span, DGERROR, fmt, ap); va_end(ap); - efmt("Aborting due to previous error.\n"); + if (span) efmt("Aborting due to previous error.\n"); exit(1); } |