diff options
author | rdivacky <rdivacky@FreeBSD.org> | 2012-11-09 13:58:52 +0000 |
---|---|---|
committer | rdivacky <rdivacky@FreeBSD.org> | 2012-11-09 13:58:52 +0000 |
commit | 7e46da464e737aacb458d52e2ffc7f4bbe002559 (patch) | |
tree | f8a9021586c0cb8e1a26954f303f900124679e6e /sys/dev/aac | |
parent | a39046ac580b20bcee12c75832d34997b7b2543c (diff) | |
download | FreeBSD-src-7e46da464e737aacb458d52e2ffc7f4bbe002559.zip FreeBSD-src-7e46da464e737aacb458d52e2ffc7f4bbe002559.tar.gz |
Give panic format string to pacify clang warning.
Diffstat (limited to 'sys/dev/aac')
-rw-r--r-- | sys/dev/aac/aac_debug.c | 2 |
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); } /* |