diff options
Diffstat (limited to 'fatal.c')
-rw-r--r-- | fatal.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,4 @@ | |||
1 | /* $OpenBSD: fatal.c,v 1.7 2006/08/03 03:34:42 deraadt Exp $ */ | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2002 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2002 Markus Friedl. All rights reserved. |
3 | * | 4 | * |
@@ -23,7 +24,10 @@ | |||
23 | */ | 24 | */ |
24 | 25 | ||
25 | #include "includes.h" | 26 | #include "includes.h" |
26 | RCSID("$OpenBSD: fatal.c,v 1.2 2003/09/23 20:17:11 markus Exp $"); | 27 | |
28 | #include <sys/types.h> | ||
29 | |||
30 | #include <stdarg.h> | ||
27 | 31 | ||
28 | #include "log.h" | 32 | #include "log.h" |
29 | 33 | ||
@@ -33,6 +37,7 @@ void | |||
33 | fatal(const char *fmt,...) | 37 | fatal(const char *fmt,...) |
34 | { | 38 | { |
35 | va_list args; | 39 | va_list args; |
40 | |||
36 | va_start(args, fmt); | 41 | va_start(args, fmt); |
37 | do_log(SYSLOG_LEVEL_FATAL, fmt, args); | 42 | do_log(SYSLOG_LEVEL_FATAL, fmt, args); |
38 | va_end(args); | 43 | va_end(args); |