Unified · Split
| @@ -803,6 +803,8 @@ void error1(TCCState *s1, int is_warning, const char *fmt, va_list ap) · 802 unmodified lines | |||
| 803 | } | 803 | } |
| 804 | if (is_warning) | 804 | if (is_warning) |
| 805 | strcat_printf(buf, sizeof(buf), "warning: "); | 805 | strcat_printf(buf, sizeof(buf), "warning: "); |
| 806 | else | ||
| 807 | strcat_printf(buf, sizeof(buf), "error: "); | ||
| 806 | strcat_vprintf(buf, sizeof(buf), fmt, ap); | 808 | strcat_vprintf(buf, sizeof(buf), fmt, ap); |
| 807 | 809 | ||
| 808 | if (!s1->error_func) { | 810 | if (!s1->error_func) { |