OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_10-35-g4212d48

Gerrit Code Review
Thu, 5 Oct 2023 08:53:20 -0400

The following commit has been merged in the openafs-stable-1_8_x branch:
commit 4212d485cb2e0b1fa06b73bd21ca38ea8e3a8fa6
Author: Cheyenne Wills <>
Date:   Thu May 25 15:51:10 2023 -0600

    clang: Don't redefine printf in salvage.c
    The Gentoo distribution changed the default fortify_source setting for
    clang (to match the default being used for gcc).  This change causes the
    following build error:
        src/dir/salvage.c:26:9: error: 'printf' macro redefined
        /usr/include/bits/stdio2.h:89:11: note: previous definition is here
        1 error generated.
    If the fortify_source level is greater than 1, glibc can define printf
    as a macro.  The clang compiler has a default check for macro
    redefinitions (-Wmacro-redefined), while gcc does not provide this
    Remove the:
       #define printf Log
    in src/dir/salvage.c and update callers to use Log() instead of
    Clean up lines that split the call to Log and its first parameter.  Fix
    the indentation for Log's parameters.
    There are no functional changes with this commit.
    Tested-by: BuildBot <>
    Reviewed-by: Andrew Deason <>
    Reviewed-by: Mark Vitale <>
    Reviewed-by: Benjamin Kaduk <>
    (cherry picked from commit df7f841f3852b5417a1d4ebc981780f2d7651b60)
    Change-Id: I9a7d9e70184eb1dbd04f2b1a0e9a668138baaabe
    Tested-by: BuildBot <>
    Reviewed-by: Marcio Brito Barbosa <>
    Reviewed-by: Michael Meffie <>
    Reviewed-by: Indira Sawant <>
    Reviewed-by: Kailas Zadbuke <>
    Reviewed-by: Stephan Wiesand <>

 src/dir/salvage.c | 94 ++++++++++++++++++++++---------------------------------
 1 file changed, 38 insertions(+), 56 deletions(-)

OpenAFS Master Repository