[PATCH rendercheck 1/5] Fix a printf format warning.

Eric Anholt eric at anholt.net
Fri Mar 24 20:17:46 UTC 2017


---
 rendercheck.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rendercheck.h b/rendercheck.h
index 1c392e8d69fd..7dc9dc95c38d 100644
--- a/rendercheck.h
+++ b/rendercheck.h
@@ -37,7 +37,7 @@ static inline void errx(int eval, const char *fmt, ...) {
     va_start(args, fmt);
     fprintf(stderr, "Fatal Error: ");
     fprintf(stderr, fmt, args);
-    fprintf(stderr, "\n", args);
+    fprintf(stderr, "\n");
     va_end(args);
     exit(eval);
 }
-- 
2.11.0



More information about the xorg-devel mailing list