Cross Reference: test_log.c
xref: /xsrc/external/mit/xf86-video-intel/dist/test/test_log.c
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /xsrc/external/mit/xf86-video-intel/dist/test/
test_log.c revision 03b705cf
103b705cfSriastradh#include <stdarg.h>
203b705cfSriastradh#include <stdio.h>
303b705cfSriastradh#include <stdlib.h>
403b705cfSriastradh
503b705cfSriastradh#include "test.h"
603b705cfSriastradh
703b705cfSriastradhvoid die(const char *fmt, ...)
803b705cfSriastradh{
903b705cfSriastradh	va_list va;
1003b705cfSriastradh
1103b705cfSriastradh	va_start(va, fmt);
1203b705cfSriastradh	vfprintf(stderr, fmt, va);
1303b705cfSriastradh	va_end(va);
1403b705cfSriastradh
1503b705cfSriastradh	exit(1);
1603b705cfSriastradh}
1703b705cfSriastradh
18

Indexes created Sat Nov 29 02:09:32 GMT 2025