diff options
author | smh <smh@FreeBSD.org> | 2013-06-29 23:39:38 +0000 |
---|---|---|
committer | smh <smh@FreeBSD.org> | 2013-06-29 23:39:38 +0000 |
commit | a50c0c66907741bb7360fadb6a649c376ac09285 (patch) | |
tree | e2f5a373b29eb0b16442fbd19d26e6742fdee11e /sys/cddl/compat | |
parent | e02b47a6f02a35407bb0cb8c6c41161cc5642ff2 (diff) | |
download | FreeBSD-src-a50c0c66907741bb7360fadb6a649c376ac09285.zip FreeBSD-src-a50c0c66907741bb7360fadb6a649c376ac09285.tar.gz |
style(9) fixes
MFC after: 2 days
Diffstat (limited to 'sys/cddl/compat')
-rw-r--r-- | sys/cddl/compat/opensolaris/kern/opensolaris_cmn_err.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/cddl/compat/opensolaris/kern/opensolaris_cmn_err.c b/sys/cddl/compat/opensolaris/kern/opensolaris_cmn_err.c index f1e4c18..7ae498b 100644 --- a/sys/cddl/compat/opensolaris/kern/opensolaris_cmn_err.c +++ b/sys/cddl/compat/opensolaris/kern/opensolaris_cmn_err.c @@ -75,7 +75,8 @@ cmn_err(int type, const char *fmt, ...) } int -assfail(const char *a, const char *f, int l) { +assfail(const char *a, const char *f, int l) +{ panic("solaris assert: %s, file: %s, line: %d", a, f, l); @@ -84,7 +85,8 @@ assfail(const char *a, const char *f, int l) { void assfail3(const char *a, uintmax_t lv, const char *op, uintmax_t rv, - const char *f, int l) { + const char *f, int l) +{ panic("solaris assert: %s (0x%jx %s 0x%jx), file: %s, line: %d", a, lv, op, rv, f, l); |