Suppress nonliteral format string warning/error
authorBen Kaduk <kaduk@mit.edu>
Wed, 8 May 2013 16:51:31 +0000 (12:51 -0400)
committerD Brashear <shadow@your-file-system.com>
Wed, 28 May 2014 20:56:44 +0000 (16:56 -0400)
commit882b9dedef974f1cbc71093a64675819811b4b1f
tree63d0bbfd020986816ebe5f2dc2789b0950d5af8d
parent4b4d44b3dd62c2a36908f20eeff345b666e7858d
Suppress nonliteral format string warning/error

Clang doesn't like a nonliteral format string, and some kernel
builds (e.g., freebsd) are done with -Werror.  Use the standard
workaround for FreeBSD and UKERNEL builds by calling vsnprintf()
into a fixed buffer.

Remove the !defined(AFS_LINUX26_ENV) check, as it duplicates a
conditional around the entirety of osi_Panic().

Change-Id: If6287dd19604b78150c81febba8a59b73f56783c
Reviewed-on: http://gerrit.openafs.org/9880
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: D Brashear <shadow@your-file-system.com>
src/rx/rx_kcommon.c