Rename printf cast helpers and clean up format string warnings
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Fri, 10 Jul 2009 23:41:02 +0000 (00:41 +0100)
committerRuss Allbery <rra@stanford.edu>
Sat, 11 Jul 2009 00:28:02 +0000 (18:28 -0600)
commitac3e0ed03187cf7c8af046adb102d6500452815f
treed971e7f0e8a31e5d8bb8aed63041543b1bec3095
parentd34017c9edccf35825bc2cf1b345e78aeb50b73a
Rename printf cast helpers and clean up format string warnings

Some confusion had ensued about the usage of our printf cast helper
functions. Rename these to attempt to allay that confusion, and restore
the functions themselves to their original definitions.

Essentially, afs_printable_int32_ld() and friends are helpers to go
from afs specifc types to things that can be emitted by printf without
causing compiler warnings.

Also clean up some additional warnings from type mismatches between
escapes in printf format strings and the variables being printed.

Reviewed-on: http://gerrit.openafs.org/50
Verified-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Russ Allbery <rra@stanford.edu>
30 files changed:
src/auth/ktc.c
src/bozo/bnode.c
src/bozo/bos.c
src/bucoord/commands.c
src/butc/dump.c
src/butc/tcmain.c
src/config/stds.h
src/des/quad_cksum.c
src/kauth/admin_tools.c
src/libadmin/samples/cm_local_cell.c
src/libadmin/samples/rxdebug_conns.c
src/libadmin/samples/rxdebug_rx_stats.c
src/libadmin/samples/rxdebug_supported_stats.c
src/libadmin/test/util.h
src/libadmin/test/vos.c
src/rx/rx_event.c
src/ubik/utst_client.c
src/uss/uss_vol.c
src/viced/host.c
src/viced/viced.c
src/vlserver/vlserver.c
src/vol/fssync-debug.c
src/vol/fssync-server.c
src/vol/listinodes.c
src/vol/namei_ops.c
src/vol/vol-info.c
src/vol/vol-salvage.c
src/vol/volume.c
src/vol/vutil.c
src/volser/vos.c