xserver-multidpi/hw/xfree86/dummylib/fatalerror.c

24 lines
418 B
C
Raw Normal View History

2004-02-26 14:36:15 +01:00
/* $XFree86: xc/programs/Xserver/hw/xfree86/dummylib/fatalerror.c,v 1.1 2000/02/13 03:06:38 dawes Exp $ */
2003-11-14 17:48:57 +01:00
#include "X.h"
#include "os.h"
#include "xf86.h"
#include "xf86Priv.h"
/*
* Utility functions required by libxf86_os.
*/
void
FatalError(const char *f, ...)
{
va_list args;
va_start(args, f);
fprintf(stderr, "Fatal Error:\n");
vfprintf(stderr, f, args);
va_end(args);
exit(1);
}