discvr.c 289 Bytes
Newer Older
Leigh B. Stoller's avatar
Leigh B. Stoller committed
1 2 3 4 5 6
/*
 * EMULAB-COPYRIGHT
 * Copyright (c) 2000-2002 University of Utah and the Flux Group.
 * All rights reserved.
 */

Kristin Wright's avatar
Kristin Wright committed
7 8 9 10 11 12 13 14 15 16

#include <stdarg.h>

void
error_exit(char *fmt, ...)
{
        va_list ap;
	char *msg;

	va_start(ap, fmt);
17
	printf();
Kristin Wright's avatar
Kristin Wright committed
18 19 20
	perror("Unable to get time-of-day.");
	exit(1);
}