Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern panic takes no \n.
details: https://anonhg.NetBSD.org/src/rev/80d93afc4ba8
branches: trunk
changeset: 345041:80d93afc4ba8
user: riastradh <riastradh%NetBSD.org@localhost>
date: Tue May 03 19:17:16 2016 +0000
description:
panic takes no \n.
>From coypu.
diffstat:
sys/kern/vfs_wapbl.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r d9133b41bc1f -r 80d93afc4ba8 sys/kern/vfs_wapbl.c
--- a/sys/kern/vfs_wapbl.c Tue May 03 19:15:29 2016 +0000
+++ b/sys/kern/vfs_wapbl.c Tue May 03 19:17:16 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_wapbl.c,v 1.65 2016/05/03 19:15:29 riastradh Exp $ */
+/* $NetBSD: vfs_wapbl.c,v 1.66 2016/05/03 19:17:16 riastradh Exp $ */
/*-
* Copyright (c) 2003, 2008, 2009 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
#define WAPBL_INTERNAL
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_wapbl.c,v 1.65 2016/05/03 19:15:29 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_wapbl.c,v 1.66 2016/05/03 19:17:16 riastradh Exp $");
#include <sys/param.h>
#include <sys/bitops.h>
@@ -1499,7 +1499,7 @@
* only a partial transaction in the log and allow the
* remaining to flush without the protection of the journal.
*/
- panic("wapbl_flush: current transaction too big to flush\n");
+ panic("wapbl_flush: current transaction too big to flush");
}
error = wapbl_truncate(wl, flushsize, 0);
@@ -1531,7 +1531,7 @@
#ifdef WAPBL_DEBUG
if (head != off) {
panic("lost head! head=%"PRIdMAX" tail=%" PRIdMAX
- " off=%"PRIdMAX" flush=%zu\n",
+ " off=%"PRIdMAX" flush=%zu",
(intmax_t)head, (intmax_t)tail, (intmax_t)off,
flushsize);
}
@@ -2096,7 +2096,7 @@
*/
if (error)
panic("wapbl_write_commit: error writing duplicate "
- "log header: %d\n", error);
+ "log header: %d", error);
}
return 0;
}
Home |
Main Index |
Thread Index |
Old Index