summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2012-03-28 15:07:51 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2012-03-30 14:42:11 -0700
commiteca58ee4db43d85e5940919be094c38ad166d5d0 (patch)
tree56c8aa1aad63b0ca7b9c3896dab5cf26524eeed8 /os
parent55f552adb651715d2620db7248cd5b9b8187654a (diff)
os: Fix regression with FatalError not calling va_start
Regression From: a818b305989bbcde4e585112a7ee70cbc0b14a92 Found-by: Colin Harrison <colin.harrison@virgin.net> Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'os')
-rw-r--r--os/log.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/log.c b/os/log.c
index 9a719696c..061b3dd61 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);