From f7780170a7fd15acb26fda7ccb5417b70da1f666 Mon Sep 17 00:00:00 2001 From: deraadt Date: Sun, 16 May 2021 15:11:08 +0000 Subject: [PATCH] hint that the panicstr should not contain \n, by saying one is printed. --- share/man/man9/panic.9 | 6 +++--- 1 file 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 -- 2.20.1