From 1da0eb00b64cf96fafeda15abecc0ea97c01cfc7 Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" Date: Mon, 18 Jul 2005 02:43:28 +0000 Subject: remove trailing newline in panic(9); ok millert@ and deraadt@ --- sys/arch/amd64/include/mutex.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch/amd64/include') diff --git a/sys/arch/amd64/include/mutex.h b/sys/arch/amd64/include/mutex.h index 94ceb969ae2..1c712e87bce 100644 --- a/sys/arch/amd64/include/mutex.h +++ b/sys/arch/amd64/include/mutex.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mutex.h,v 1.2 2005/04/08 07:07:06 jolan Exp $ */ +/* $OpenBSD: mutex.h,v 1.3 2005/07/18 02:43:24 fgsch Exp $ */ /* * Copyright (c) 2004 Artur Grabowski @@ -37,12 +37,12 @@ struct mutex { #define MUTEX_ASSERT_LOCKED(mtx) do { \ if ((mtx)->mtx_owner != curcpu()) \ - panic("mutex %p not held in %s\n", (mtx), __func__); \ + panic("mutex %p not held in %s", (mtx), __func__); \ } while (0) #define MUTEX_ASSERT_UNLOCKED(mtx) do { \ if ((mtx)->mtx_owner == curcpu()) \ - panic("mutex %p held in %s\n", (mtx), __func__); \ + panic("mutex %p held in %s", (mtx), __func__); \ } while (0) #define MUTEX_OLDIPL(mtx) (mtx)->mtx_oldipl -- cgit v1.2.3