Add printf-style format checking
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Sat, 7 Nov 2009 11:52:59 +0000 (11:52 +0000)
committerDerrick Brashear <shadow|account-1000005@unknown>
Sun, 8 Nov 2009 16:27:16 +0000 (08:27 -0800)
commitd98d3060f880f4c7d4089fd2fb981ee08fd1486f
tree97a43e59822ed4511ffab03f4e5ff49e2904f4f9
parent392dcf676bd3642fc114abb29b79888055d8c409
Add printf-style format checking

Add the AFS_ATTRIBUTE_FORMAT macro which can be used to turn on
printf-like format checking for our va-arg log functions.

Enable this checking for volser's Log(), and fix the fallout from
doing so.

Change-Id: Ic5ab93ba731856f1f90e894d711b0f84298ded12
Reviewed-on: http://gerrit.openafs.org/789
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/config/stds.h
src/volser/vol_split.c
src/volser/volser_internal.h