svn commit: r251944 - stable/9/sys/dev/aac

Marius Strobl marius at FreeBSD.org
Tue Jun 18 15:02:53 UTC 2013


Author: marius
Date: Tue Jun 18 15:02:53 2013
New Revision: 251944
URL: http://svnweb.freebsd.org/changeset/base/251944

Log:
  MFC: r242823
  
  Give panic format string to pacify clang warning.

Modified:
  stable/9/sys/dev/aac/aac_debug.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/aac/aac_debug.c
==============================================================================
--- stable/9/sys/dev/aac/aac_debug.c	Tue Jun 18 15:00:20 2013	(r251943)
+++ stable/9/sys/dev/aac/aac_debug.c	Tue Jun 18 15:02:53 2013	(r251944)
@@ -160,7 +160,7 @@ void
 aac_panic(struct aac_softc *sc, char *reason)
 {
 	aac_print_queues(sc);
-	panic(reason);
+	panic("%s", reason);
 }
 
 /*


More information about the svn-src-stable-9 mailing list