OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_65-24-gdb949b7
Gerrit Code Review
gerrit@openafs.org
Wed, 7 Oct 2009 20:09:52 -0700 (PDT)
The following commit has been merged in the master branch:
commit db949b7fade69d7eb1e38ad85d5b822c443306cb
Author: Andrew Deason <adeason@sinenomine.net>
Date: Wed Oct 7 14:52:02 2009 -0500
Correct and use AFS_SIZET_FMT
On *nix, a size_t needs either %lu or %u to be interpolated in a string,
depending on if we're on an ILP32 arch or not. Define AFS_SIZET_FMT
accordingly, and actually use AFS_SIZET_FMT when we try to print a
size_t.
This removes numerous -Wformat warnings, at least when building on
i386_linux26.
Reviewed-on: http://gerrit.openafs.org/592
Reviewed-by: Matt Benjamin <matt@linuxbox.com>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/bozo/bosserver.c | 2 +-
src/config/stds.h | 6 +++++-
src/gtx/curseswindows.c | 12 ++++++------
src/gtx/lightobject.c | 4 ++--
src/gtx/objects.c | 4 ++--
src/gtx/textcb.c | 2 +-
src/gtx/textobject.c | 5 ++---
src/kauth/rebuild.c | 6 +++---
src/ptserver/db_verify.c | 4 ++--
src/ptserver/ptserver.c | 2 +-
src/rx/rx.c | 2 +-
src/scout/scout.c | 2 +-
src/uss/uss_acl.c | 2 +-
src/venus/cmdebug.c | 2 +-
src/viced/viced.c | 5 +++--
src/vlserver/cnvldb.c | 2 +-
src/vlserver/vlserver.c | 2 +-
src/volser/volmain.c | 2 +-
src/xstat/xstat_cm.c | 2 +-
src/xstat/xstat_fs.c | 2 +-
20 files changed, 37 insertions(+), 33 deletions(-)
--
OpenAFS Master Repository