X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/a92a0909e5718db781ac21b72e118060b2f28692..7bf7b86c4a72888673fbaf3c0ddc870b4cd4a555:/fatal.c diff --git a/fatal.c b/fatal.c index 8eea85a0..5e5aa3fe 100644 --- a/fatal.c +++ b/fatal.c @@ -1,3 +1,4 @@ +/* $OpenBSD: fatal.c,v 1.7 2006/08/03 03:34:42 deraadt Exp $ */ /* * Copyright (c) 2002 Markus Friedl. All rights reserved. * @@ -24,6 +25,10 @@ #include "includes.h" +#include + +#include + #include "log.h" /* Fatal messages. This function never returns. */ @@ -32,6 +37,7 @@ void fatal(const char *fmt,...) { va_list args; + va_start(args, fmt); do_log(SYSLOG_LEVEL_FATAL, fmt, args); va_end(args);