summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrdivacky <rdivacky@FreeBSD.org>2012-11-09 13:58:52 +0000
committerrdivacky <rdivacky@FreeBSD.org>2012-11-09 13:58:52 +0000
commit7e46da464e737aacb458d52e2ffc7f4bbe002559 (patch)
treef8a9021586c0cb8e1a26954f303f900124679e6e
parenta39046ac580b20bcee12c75832d34997b7b2543c (diff)
downloadFreeBSD-src-7e46da464e737aacb458d52e2ffc7f4bbe002559.zip
FreeBSD-src-7e46da464e737aacb458d52e2ffc7f4bbe002559.tar.gz
Give panic format string to pacify clang warning.
-rw-r--r--sys/dev/aac/aac_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/aac/aac_debug.c b/sys/dev/aac/aac_debug.c
index 9cdfd3f..353c6fa 100644
--- a/sys/dev/aac/aac_debug.c
+++ b/sys/dev/aac/aac_debug.c
@@ -160,7 +160,7 @@ void
aac_panic(struct aac_softc *sc, char *reason)
{
aac_print_queues(sc);
- panic(reason);
+ panic("%s", reason);
}
/*
OpenPOWER on IntegriCloud