Use AFS_PTR_FMT to format pointers
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Mon, 13 Jul 2009 23:01:09 +0000 (00:01 +0100)
committerJeffrey Altman <jaltman@openafs.org>
Thu, 16 Jul 2009 18:36:19 +0000 (12:36 -0600)
commit2cf12c43c6a5822212f1d4e42dca7c059a1a9000
tree0f5e878e193074df1327ccfaf08b475a23fd79b6
parent0c7bb45c91cee0d47fa0263831f7d22889153a36
Use AFS_PTR_FMT to format pointers

Replace "0x%x" with "%"AFS_FMT_PTR for pointer printing in all locations
where gcc flags a warning.

This change is warnings reduction driven - there are many more
occurences of this in the code which don't currently result in
compiler warnings, because the va_args functions they're used in
aren't defined as printflike.

Reviewed-on: http://gerrit.openafs.org/75
Verified-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Verified-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/config/stds.h
src/ptserver/ptserver.c
src/rx/rx_event.c
src/rx/rx_user.c
src/xstat/xstat_cm.c
src/xstat/xstat_cm_test.c
src/xstat/xstat_fs.c
src/xstat/xstat_fs_test.c