This patch fixes a small copy&paste mistake.
2024-07-29 Bruno Haible <br...@clisp.org> chdir: Fix mistake in GNULIB_POSIXCHECK. * lib/unistd.in.h: Don't attach the chdir warning to the 'chown' function. diff --git a/lib/unistd.in.h b/lib/unistd.in.h index 9ca377c4df..ae92587b6d 100644 --- a/lib/unistd.in.h +++ b/lib/unistd.in.h @@ -340,7 +340,7 @@ _GL_CXXALIASWARN (chdir); #elif defined GNULIB_POSIXCHECK # undef chdir # if HAVE_RAW_DECL_CHDIR -_GL_WARN_ON_USE (chown, "chdir is not always in <unistd.h> - " +_GL_WARN_ON_USE (chdir, "chdir is not always in <unistd.h> - " "use gnulib module chdir for portability"); # endif #elif @GNULIB_MDA_CHDIR@