summaryrefslogtreecommitdiffstats
path: root/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index 5fdc10e..610729b 100644
--- a/ui.c
+++ b/ui.c
@@ -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)