[PATCH] wpp: Standardize the error and warning messages.
Francois Gouget
fgouget at codeweavers.com
Thu Apr 2 04:09:37 CDT 2020
Use lowercase 'error:' and 'warning:' prefixes like other tools so the
messages can be recognized by standard tools.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
libs/wpp/preproc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libs/wpp/preproc.c b/libs/wpp/preproc.c
index df5adf0dbce..284704b9f41 100644
--- a/libs/wpp/preproc.c
+++ b/libs/wpp/preproc.c
@@ -692,7 +692,7 @@ int ppy_error(const char *s, ...)
{
va_list ap;
va_start(ap, s);
- generic_msg(s, "Error", ppy_text, ap);
+ generic_msg(s, "error", ppy_text, ap);
va_end(ap);
exit(1);
}
@@ -701,7 +701,7 @@ int ppy_warning(const char *s, ...)
{
va_list ap;
va_start(ap, s);
- generic_msg(s, "Warning", ppy_text, ap);
+ generic_msg(s, "warning", ppy_text, ap);
va_end(ap);
return 0;
}
--
2.20.1
More information about the wine-devel
mailing list