mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-09 01:50:17 +01:00
os: Fix regression with FatalError not calling va_start
Regression From: a818b30598
Found-by: Colin Harrison <colin.harrison@virgin.net>
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
55f552adb6
commit
eca58ee4db
1 changed files with 2 additions and 0 deletions
2
os/log.c
2
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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue