* lib/stdlib.in.h (grantpt): Check correct function. Signed-off-by: Eric Blake <ebl...@redhat.com> --- ChangeLog | 3 +++ lib/stdlib.in.h | 2 +- 2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog index 820decf..1761f56 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2011-11-07 Eric Blake <ebl...@redhat.com> + grantpt: fix typo + * lib/stdlib.in.h (grantpt): Check correct function. + maint.mk: silence new syntax check * top/maint.mk (sc_prohibit_dirent_without_use): Add missing @. diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h index 19d0d67..1a8df49 100644 --- a/lib/stdlib.in.h +++ b/lib/stdlib.in.h @@ -247,7 +247,7 @@ _GL_CXXALIASWARN (grantpt); #elif defined GNULIB_POSIXCHECK # undef grantpt # if HAVE_RAW_DECL_GRANTPT -_GL_WARN_ON_USE (ptsname, "grantpt is not portable - " +_GL_WARN_ON_USE (grantpt, "grantpt is not portable - " "use gnulib module grantpt for portability"); # endif #endif -- 1.7.4.4