diff options
Diffstat (limited to 'ui.c')
-rw-r--r-- | ui.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -15,7 +15,8 @@ vxprintwarningf(enum warning_class class, int severity, const char *fmt, va_list { if (warning_classes[class].action != IGNORE) { fprintf(stderr, "%s: [%s] ", argv0, - warning_classes[class].action == INFORM ? "info" : "warning"); + warning_classes[class].action == INFORM ? "info" : + warning_classes[class].action == WARN_STYLE ? "style" : "warning"); vfprintf(stderr, fmt, ap); fprintf(stderr, " (-w%s)\n", warning_classes[class].name); if (warning_classes[class].action != INFORM) |