From: Paul Eggert Date: Mon, 30 Jun 2025 22:07:24 +0000 (-0700) Subject: openat-die: also change openat_restore_fail X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2020cf435e2efc7237dcd5a64728e8eb959ade9e;p=thirdparty%2Fgnulib.git openat-die: also change openat_restore_fail --- diff --git a/ChangeLog b/ChangeLog index 2775f64d5d..19b16ab146 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,8 @@ 2025-06-30 Paul Eggert 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 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