diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2005-07-18 02:43:28 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2005-07-18 02:43:28 +0000 |
commit | 1da0eb00b64cf96fafeda15abecc0ea97c01cfc7 (patch) | |
tree | 07ce3426901e09feb49ab2c3174d982a7fc02646 /sys/arch/amd64/include | |
parent | d682261e1331abf1c2f9fa2d157d5b8f51360fdd (diff) |
remove trailing newline in panic(9); ok millert@ and deraadt@
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r-- | sys/arch/amd64/include/mutex.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 <art@openbsd.org> @@ -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 |