/*
 * 5799-WZQ (C) COPYRIGHT = NONE
 * LICENSED MATERIALS - PROPERTY OF IBM
 */
/* $Header:bughalt.c 12.0$ */
/* $ACIS:bughalt.c 12.0$ */
/* $Source: /ibm/acis/usr/src/ibm/rvd/lib/RCS/bughalt.c,v $ */

#ifndef lint
static char *rcsid = "$Header:bughalt.c 12.0$";
#endif


#ifndef lint
static char rcsid_bughalt_c[] = "$Header:bughalt.c 12.0$";
#endif lint

/* Copyright 1984 by the Massachusetts Institute of Technology */
/* See permission and disclaimer notice in the file "notice.h" */
#include "notice.h"

/* Print and error message and produce a core dump.  This routine should
 * only be called in unrecoverable errors.
 */

#include	<sys/types.h>
#include	<stdio.h>

#include	"rvd_types.h"
#include	"logging.h"
#include	"extern.h"

bughalt(st)

char	*st;				/* string to print */
{
    syslog(LOG_ALERT, st);
    closelog();
    abort();
}
