Module Name: src Committed By: riastradh Date: Tue May 3 19:17:16 UTC 2016
Modified Files: src/sys/kern: vfs_wapbl.c Log Message: panic takes no \n. >From coypu. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/kern/vfs_wapbl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/vfs_wapbl.c diff -u src/sys/kern/vfs_wapbl.c:1.65 src/sys/kern/vfs_wapbl.c:1.66 --- src/sys/kern/vfs_wapbl.c:1.65 Tue May 3 19:15:29 2016 +++ src/sys/kern/vfs_wapbl.c Tue May 3 19:17:16 2016 @@ -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 @@ wapbl_flush(struct wapbl *wl, int waitfo * 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 @@ wapbl_flush(struct wapbl *wl, int waitfo #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 @@ wapbl_write_commit(struct wapbl *wl, off */ if (error) panic("wapbl_write_commit: error writing duplicate " - "log header: %d\n", error); + "log header: %d", error); } return 0; }