#include <h/mh.h>
#include <errno.h>
+#include <stdarg.h>
/*
** print out error message and exit
*/
void
-adios(char *what, char *fmt, ...)
+adios(int status, char *what, char *fmt, ...)
{
va_list ap;
va_start(ap, fmt);
advertise(what, NULL, fmt, ap);
va_end(ap);
- exit(1);
+ exit(status);
}