Deleted Added
full compact
21,22c21
< * $FreeBSD: stable/9/sys/cddl/compat/opensolaris/kern/opensolaris_cmn_err.c 230171 2012-01-15 22:07:14Z avg $
< *
---
> * $FreeBSD: stable/9/sys/cddl/compat/opensolaris/kern/opensolaris_cmn_err.c 243674 2012-11-29 14:05:04Z mm $
23a23,26
> /*
> * Copyright 2007 John Birrell <jb@FreeBSD.org>. All rights reserved.
> * Copyright 2012 Martin Matuska <mm@FreeBSD.org>. All rights reserved.
> */
24a28
> #include <sys/assfail.h>
70a75,90
>
> int
> assfail(const char *a, const char *f, int l) {
>
> panic("solaris assert: %s, file: %s, line: %d", a, f, l);
>
> return (0);
> }
>
> void
> assfail3(const char *a, uintmax_t lv, const char *op, uintmax_t rv,
> const char *f, int l) {
>
> panic("solaris assert: %s (0x%jx %s 0x%jx), file: %s, line: %d",
> a, lv, op, rv, f, l);
> }