summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2021-05-16 15:11:09 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2021-05-16 15:11:09 +0000
commitac3f7ba5042664b38433677d775e3c67819d2d44 (patch)
treec0814f3b534f59e6cea5af85490c6fe509a5cf6f /share/man
parentb06ef1b95da951218f0bb65c522b14e60c097cdb (diff)
hint that the panicstr should not contain \n, by saying one is printed.
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man9/panic.96
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man9/panic.9 b/share/man/man9/panic.9
index a4ce923df80..c32aa84d454 100644
--- a/share/man/man9/panic.9
+++ b/share/man/man9/panic.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: panic.9,v 1.9 2014/07/13 23:03:03 schwarze Exp $
+.\" $OpenBSD: panic.9,v 1.10 2021/05/16 15:11:08 deraadt Exp $
.\" $NetBSD: panic.9,v 1.2 1996/10/09 17:20:04 explorer Exp $
.\"
.\" Copyright (c) 1996 Michael Graff.
@@ -30,7 +30,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 13 2014 $
+.Dd $Mdocdate: May 16 2021 $
.Dt PANIC 9
.Os
.Sh NAME
@@ -52,7 +52,7 @@ The message
is a
.Xr printf 9
style format string.
-The message is printed to the console and the location
+The message is printed to the console (with a newline) and the location
pointed to by the global char pointer
.Fa panicstr
is set to the address of the message text for retrieval from the OS