159412Smsmith/*
265577Sdes * Copyright (c) 1995 - 2001 Kungliga Tekniska H��gskolan
365577Sdes * (Royal Institute of Technology, Stockholm, Sweden).
459412Smsmith * All rights reserved.
559412Smsmith *
659412Smsmith * Redistribution and use in source and binary forms, with or without
759412Smsmith * modification, are permitted provided that the following conditions
859412Smsmith * are met:
959412Smsmith *
1059412Smsmith * 1. Redistributions of source code must retain the above copyright
1159412Smsmith *    notice, this list of conditions and the following disclaimer.
1259412Smsmith *
1359412Smsmith * 2. Redistributions in binary form must reproduce the above copyright
1459412Smsmith *    notice, this list of conditions and the following disclaimer in the
1559412Smsmith *    documentation and/or other materials provided with the distribution.
1659412Smsmith *
1759412Smsmith * 3. Neither the name of the Institute nor the names of its contributors
1859412Smsmith *    may be used to endorse or promote products derived from this software
1959412Smsmith *    without specific prior written permission.
2059412Smsmith *
2159412Smsmith * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
2259412Smsmith * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2359412Smsmith * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2459412Smsmith * ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
2559412Smsmith * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2659412Smsmith * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2759412Smsmith * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2859412Smsmith * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2959412Smsmith * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
3059412Smsmith * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3159412Smsmith * SUCH DAMAGE.
3259412Smsmith */
3359412Smsmith
3459412Smsmith#include <config.h>
3559412Smsmith
3659412Smsmith#include "roken.h"
3759412Smsmith#include <err.h>
3859412Smsmith
3959412SmsmithROKEN_LIB_FUNCTION void ROKEN_LIB_CALL
4059412Smsmithverrx(int eval, const char *fmt, va_list ap)
4159412Smsmith{
4259412Smsmith    rk_warnerr(0, fmt, ap);
4359412Smsmith    exit(eval);
4459412Smsmith}
4583926Sdes