The following commit has been merged in the master branch:
commit bee056613311c2a95f946c8eb25b6def97e7ec29
Author: Michael Meffie <[email protected]>
Date:   Mon Dec 18 15:47:37 2023 -0500

    rx: Print free and allocated counters as unsigned values
    
    Commit b967654434 (rxdebug-print-values-unsigned-20090512) changed the
    output of rxdebug to print counters as unsigned values.  However, that
    commit missed changing the format of the "free" and "allocated" packets
    counters.
    
    Change the printf format specifiers of the "free" and "allocated" packet
    counters to print them as unsigned values.
    
    The free packets counter is stored as an afs_int32, which maybe a long
    on some platforms.  This counter was previously cast to an int type in
    commit 1d93f2da22eb (rx-warnings-and-prototyping-20010623) to avoid a
    format specifier warning.  Update the cast to an unsigned int to be
    clear this is an unsigned value.
    
    Change-Id: I22eecd0ca8533778bc6459c6ede8694575d20273
    Reviewed-on: https://gerrit.openafs.org/15608
    Reviewed-by: Andrew Deason <[email protected]>
    Reviewed-by: Mark Vitale <[email protected]>
    Reviewed-by: Cheyenne Wills <[email protected]>
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Michael Meffie <[email protected]>

 src/rx/rx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to