adapt sk-dummy's fatal implementation to changes

This commit is contained in:
Damien Miller 2020-10-17 11:42:26 +11:00
parent afbd9ec9e2
commit 0f938f9986
1 changed files with 5 additions and 2 deletions

View File

@ -1,14 +1,17 @@
/* public domain */ /* public domain */
#include "includes.h"
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <stdarg.h> #include <stdarg.h>
#include <unistd.h> #include <unistd.h>
void fatal(char *fmt, ...); void
sshfatal(const char *file, const char *func, int line, const char *fmt, ...);
void void
fatal(char *fmt, ...) sshfatal(const char *file, const char *func, int line, const char *fmt, ...)
{ {
va_list ap; va_list ap;