Annotation of embedaddon/mpd/src/assert.c, revision 1.1
1.1 ! misho 1:
! 2: /*
! 3: * assert.c
! 4: *
! 5: * Written by Archie Cobbs <archie@freebsd.org>
! 6: * Copyright (c) 1995-1999 Whistle Communications, Inc. All rights reserved.
! 7: * See ``COPYRIGHT.whistle''
! 8: */
! 9:
! 10: #include "ppp.h"
! 11: #include "log.h"
! 12:
! 13: void
! 14: DoAssert(const char *file, int line, const char *failedexpr)
! 15: {
! 16: Log(LG_ERR, ("ASSERT \"%s\" failed: file \"%s\", line %d",
! 17: failedexpr, file, line));
! 18: DoExit(EX_ERRDEAD);
! 19: }
! 20:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>