changeset 16054:b681482abe97

grantpt: fix typo * lib/stdlib.in.h (grantpt): Check correct function. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Mon, 07 Nov 2011 15:18:07 -0700
parents 48e53ddfb126
children 8063ffd1fa6d
files ChangeLog lib/stdlib.in.h
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2011-11-07  Eric Blake  <eblake@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 @.
 
--- a/lib/stdlib.in.h
+++ b/lib/stdlib.in.h
@@ -247,7 +247,7 @@
 #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