From: Paul Eggert Date: Mon, 30 Jun 2025 22:01:03 +0000 (-0700) Subject: openat-die: pacify Apple clang-1400.0.29.202 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9537853d31b02493f6f3a0ffb9b22bef1ed7217a;p=thirdparty%2Fgnulib.git openat-die: pacify Apple clang-1400.0.29.202 * lib/openat-die.c (openat_save_fail): Pacify-Wformat-security on this platform. --- diff --git a/ChangeLog b/ChangeLog index ffc5512e71..2775f64d5d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +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. + 2025-06-30 Bruno Haible options tests: Fix link error. diff --git a/lib/openat-die.c b/lib/openat-die.c index 79a5b23bc8..f72ed0537b 100644 --- a/lib/openat-die.c +++ b/lib/openat-die.c @@ -34,7 +34,7 @@ _Noreturn void openat_save_fail (int errnum) { #ifndef GNULIB_LIBPOSIX - error (exit_failure, errnum, + error (exit_failure, errnum, "%s", _("unable to record current working directory")); #endif /* _Noreturn cannot be applied to error, since it returns