[PATCH os 1/1] os: Fix regression with FatalError not calling va_start

Jeremy Huddleston jeremyhu at apple.com
Wed Mar 28 15:11:59 PDT 2012


Regression From: 19283e1947edf9b25c9ee72ae30defabab670f20

Found-by: Colin Harrison <colin.harrison at virgin.net>
Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
---
 os/log.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/os/log.c b/os/log.c
index 9a71969..061b3dd 100644
--- a/os/log.c
+++ b/os/log.c
@@ -601,6 +601,8 @@ FatalError(const char *f, ...)
     else
         ErrorF("\nFatal server error:\n");
 
+    va_start(args, f);
+
     /* Make a copy for OsVendorFatalError */
     va_copy(args2, args);
 
-- 
1.7.9.4



More information about the xorg-devel mailing list