budb: Add printf format checks to logging fns
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Sat, 17 Jul 2010 17:06:39 +0000 (18:06 +0100)
committerDerrick Brashear <shadow@dementia.org>
Sun, 18 Jul 2010 15:15:15 +0000 (08:15 -0700)
commit8b5bf6ed9eb8404f8b9576c440d82a7691bcb77a
tree4ff201372b74cdad717da9130a24d8e830bf3efa
parent52c91be7ca3c834c470fc739696dffe5fd01c0fe
budb: Add printf format checks to logging fns

Add format checking to the Log, LogError and LogDebug functions.

Fix the resulting type errors. One of these in particular is a
signficant bug, where we would try to print a hash table pointer
as a string.

Change-Id: I02d7bcd7ce63583d24dda4da40288af51a516583
Reviewed-on: http://gerrit.openafs.org/2445
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/budb/budb_internal.h
src/budb/database.c
src/budb/db_alloc.c
src/budb/db_hash.c
src/budb/db_text.c
src/budb/procs.c