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);
 }
 
 /*
_______________________________________________
svn-src-stable-9@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "svn-src-stable-9-unsubscr...@freebsd.org"

Reply via email to