Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2013 15:02:53 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r251944 - stable/9/sys/dev/aac
Message-ID:  <201306181502.r5IF2rb5095756@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306181502.r5IF2rb5095756>