From d943f7dc4666bea8ae6747e6240208f2eea348fa Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 31 Dec 2020 19:41:32 +0100 Subject: [PATCH] unistd: Fix portability warnings. * lib/unistd.in.h (fchownat, unlinkat): Fix module name in warning. --- ChangeLog | 5 +++++ lib/unistd.in.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 179119d76f..c9b22fb02d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2020-12-31 Bruno Haible + + unistd: Fix portability warnings. + * lib/unistd.in.h (fchownat, unlinkat): Fix module name in warning. + 2020-12-31 Bruno Haible utime: Fix compilation error on macOS and Solaris 9 (regr. 2020-12-24). diff --git a/lib/unistd.in.h b/lib/unistd.in.h index d43556ae5e..3f3b995b57 100644 --- a/lib/unistd.in.h +++ b/lib/unistd.in.h @@ -978,7 +978,7 @@ _GL_CXXALIASWARN (fchownat); # undef fchownat # if HAVE_RAW_DECL_FCHOWNAT _GL_WARN_ON_USE (fchownat, "fchownat is not portable - " - "use gnulib module openat for portability"); + "use gnulib module fchownat for portability"); # endif #endif @@ -2219,7 +2219,7 @@ _GL_CXXALIASWARN (unlinkat); # undef unlinkat # if HAVE_RAW_DECL_UNLINKAT _GL_WARN_ON_USE (unlinkat, "unlinkat is not portable - " - "use gnulib module openat for portability"); + "use gnulib module unlinkat for portability"); # endif #endif -- 2.39.5