]> andersk Git - openssh.git/blobdiff - fatal.c
- djm@cvs.openbsd.org 2010/01/30 02:54:53
[openssh.git] / fatal.c
diff --git a/fatal.c b/fatal.c
index 9e7d1600073f341fd1dcf903f56dc6f81b00baeb..5e5aa3fe18dfd229c6427d02c638584cfbf2514f 100644 (file)
--- 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.
  *
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: fatal.c,v 1.1 2002/02/22 12:20:34 markus Exp $");
+
+#include <sys/types.h>
+
+#include <stdarg.h>
 
 #include "log.h"
 
@@ -33,8 +37,9 @@ void
 fatal(const char *fmt,...)
 {
        va_list args;
+
        va_start(args, fmt);
        do_log(SYSLOG_LEVEL_FATAL, fmt, args);
        va_end(args);
-       fatal_cleanup();
+       cleanup_exit(255);
 }
This page took 0.464754 seconds and 4 git commands to generate.