summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2015-04-24 03:17:21 +0000
committermarkj <markj@FreeBSD.org>2015-04-24 03:17:21 +0000
commitf924bf61f49f76fb7e56b3d80d385ce10619dae7 (patch)
treee0aa6a2f6ff62ec4633efdd76643ab5c824f4030 /share
parentf8a72c94c0a18e3c027a42ddcc56c6bd84af5789 (diff)
downloadFreeBSD-src-f924bf61f49f76fb7e56b3d80d385ce10619dae7.zip
FreeBSD-src-f924bf61f49f76fb7e56b3d80d385ce10619dae7.tar.gz
Make vpanic() externally visible so that it can be called as part of the
DTrace panic() action. Differential Revision: https://reviews.freebsd.org/D2349 Reviewed by: avg MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/Makefile1
-rw-r--r--share/man/man9/panic.98
2 files changed, 7 insertions, 2 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
index d8fd585..7f79156 100644
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -1135,6 +1135,7 @@ MLINKS+=osd.9 osd_call.9 \
osd.9 osd_get.9 \
osd.9 osd_register.9 \
osd.9 osd_set.9
+MLINKS+=panic.9 vpanic.9
MLINKS+=pbuf.9 getpbuf.9 \
pbuf.9 relpbuf.9 \
pbuf.9 trypbuf.9
diff --git a/share/man/man9/panic.9 b/share/man/man9/panic.9
index 44439dd..c467b86 100644
--- a/share/man/man9/panic.9
+++ b/share/man/man9/panic.9
@@ -31,7 +31,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd August 11, 1995
+.Dd April 23, 2015
.Dt PANIC 9
.Os
.Sh NAME
@@ -42,10 +42,14 @@
.In sys/systm.h
.Ft void
.Fn panic "const char *fmt" ...
+.Ft void
+.Fn vpanic "const char *fmt" "va_list ap"
.Sh DESCRIPTION
The
.Fn panic
-function terminates the running system.
+and
+.Fn vpanic
+functions terminate the running system.
The message
.Fa fmt
is a
OpenPOWER on IntegriCloud