--- ChangeLog | 4 ++-- lib/openat-die.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog index 2775f64d5d..19b16ab146 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,8 @@ 2025-06-30 Paul Eggert <egg...@cs.ucla.edu> openat-die: pacify Apple clang-1400.0.29.202 - * lib/openat-die.c (openat_save_fail): - Pacify-Wformat-security on this platform. + * lib/openat-die.c (openat_save_fail, openat_restore_fail): + [!GNULIB_LIBPOSIX]: Pacify-Wformat-security on this platform. 2025-06-30 Bruno Haible <br...@clisp.org> diff --git a/lib/openat-die.c b/lib/openat-die.c index f72ed0537b..3fbb5d86e4 100644 --- a/lib/openat-die.c +++ b/lib/openat-die.c @@ -53,7 +53,7 @@ _Noreturn void openat_restore_fail (int errnum) { #ifndef GNULIB_LIBPOSIX - error (exit_failure, errnum, + error (exit_failure, errnum, "%s", _("failed to return to initial working directory")); #endif -- 2.48.1