From af22ec80f389dff47bacea72e8c88431ab02f59b Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Mon, 7 Nov 2011 15:18:07 -0700 Subject: [PATCH 1/1] grantpt: fix typo * lib/stdlib.in.h (grantpt): Check correct function. Signed-off-by: Eric Blake --- ChangeLog | 3 +++ lib/stdlib.in.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 820decfef..1761f5680 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2011-11-07 Eric Blake + 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 19d0d67a5..1a8df492c 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 -- 2.11.0