Add printf format checks to util's log functions
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Sat, 7 Nov 2009 21:21:00 +0000 (21:21 +0000)
committerDerrick Brashear <shadow|account-1000005@unknown>
Wed, 3 Feb 2010 20:28:25 +0000 (12:28 -0800)
commit68463b6ab9c664303692ac264871723c27bfc524
tree2217c47143035f8edefff43e3531cc8916fd4724
parentdac001a0a04f54a76f254200ee24ab09f5ad22f7
Add printf format checks to util's log functions

Add gcc printf format checks to all of the logging functions
defined in src/util/afsutil.h

Deal with the fallout, in particular create cast functions to go
from VolumeId and VnodeId to (unsigned int)

Change-Id: I28181b73cfeac22cf869d34e75a8335e65125e36
Reviewed-on: http://gerrit.openafs.org/793
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/util/afsutil.h
src/viced/afsfileprocs.c
src/viced/callback.c
src/viced/callback.h
src/viced/host.c
src/viced/viced.c
src/vol/volume.h