File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / mpd / src / assert.c
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:32:47 2012 UTC (12 years, 10 months ago) by misho
CVS tags: MAIN, HEAD
Initial revision


/*
 * assert.c
 *
 * Written by Archie Cobbs <archie@freebsd.org>
 * Copyright (c) 1995-1999 Whistle Communications, Inc. All rights reserved.
 * See ``COPYRIGHT.whistle''
 */

#include "ppp.h"
#include "log.h"

void
DoAssert(const char *file, int line, const char *failedexpr)
{
  Log(LG_ERR, ("ASSERT \"%s\" failed: file \"%s\", line %d",
    failedexpr, file, line));
  DoExit(EX_ERRDEAD);
}


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>