OpenAFS Master Repository branch, master, updated. ac3e0ed03187cf7c8af046adb102d6500452815f

Gerrit Code Review gerrit@openafs.org
Fri, 10 Jul 2009 17:28:24 -0700 (PDT)


The following commit has been merged in the master branch:
commit ac3e0ed03187cf7c8af046adb102d6500452815f
Author: Simon Wilkinson <sxw@inf.ed.ac.uk>
Date:   Sat Jul 11 00:41:02 2009 +0100

    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>

 src/auth/ktc.c                                 |    4 +-
 src/bozo/bnode.c                               |   24 ++++++------
 src/bozo/bos.c                                 |    4 +-
 src/bucoord/commands.c                         |    2 +-
 src/butc/dump.c                                |    2 +-
 src/butc/tcmain.c                              |    2 +-
 src/config/stds.h                              |   10 ++----
 src/des/quad_cksum.c                           |    3 +-
 src/kauth/admin_tools.c                        |   16 ++++----
 src/libadmin/samples/cm_local_cell.c           |    2 +-
 src/libadmin/samples/rxdebug_conns.c           |    4 +-
 src/libadmin/samples/rxdebug_rx_stats.c        |    2 +-
 src/libadmin/samples/rxdebug_supported_stats.c |    2 +-
 src/libadmin/test/util.h                       |    6 +++
 src/libadmin/test/vos.c                        |   41 ++++++++++++++-------
 src/rx/rx_event.c                              |    7 +++-
 src/ubik/utst_client.c                         |   16 +++++---
 src/uss/uss_vol.c                              |    2 +-
 src/viced/host.c                               |    2 +-
 src/viced/viced.c                              |    2 +-
 src/vlserver/vlserver.c                        |    2 +-
 src/vol/fssync-debug.c                         |    2 +-
 src/vol/fssync-server.c                        |    4 +-
 src/vol/listinodes.c                           |    4 +-
 src/vol/namei_ops.c                            |    4 +-
 src/vol/vol-info.c                             |    2 +-
 src/vol/vol-salvage.c                          |    6 ++--
 src/vol/volume.c                               |    6 ++--
 src/vol/vutil.c                                |    2 +-
 src/volser/vos.c                               |   46 ++++++++++++------------
 30 files changed, 127 insertions(+), 104 deletions(-)

-- 
OpenAFS Master Repository