Module Name: src Committed By: joerg Date: Mon May 23 21:49:35 UTC 2011
Modified Files: src/sys/dev/raidframe: rf_general.h Log Message: rf_panicbuf is already format, so don't pass it as format string to panic() To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/dev/raidframe/rf_general.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/raidframe/rf_general.h diff -u src/sys/dev/raidframe/rf_general.h:1.18 src/sys/dev/raidframe/rf_general.h:1.19 --- src/sys/dev/raidframe/rf_general.h:1.18 Sat Nov 13 13:52:10 2010 +++ src/sys/dev/raidframe/rf_general.h Mon May 23 21:49:35 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: rf_general.h,v 1.18 2010/11/13 13:52:10 uebayasi Exp $ */ +/* $NetBSD: rf_general.h,v 1.19 2011/05/23 21:49:35 joerg Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -55,7 +55,7 @@ extern char rf_panicbuf[]; -#define RF_PANIC() {rf_print_panic_message(__LINE__,__FILE__); panic(rf_panicbuf);} +#define RF_PANIC() {rf_print_panic_message(__LINE__,__FILE__); panic("%s", rf_panicbuf);} #if defined(RAID_DIAGNOSTIC) || defined(__COVERITY__) #define RF_ASSERT(_x_) { \