grantpt: fix typo
authorEric Blake <eblake@redhat.com>
Mon, 7 Nov 2011 22:18:07 +0000 (15:18 -0700)
committerEric Blake <eblake@redhat.com>
Mon, 7 Nov 2011 22:18:07 +0000 (15:18 -0700)
* lib/stdlib.in.h (grantpt): Check correct function.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
lib/stdlib.in.h

index 820decf..1761f56 100644 (file)
--- 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 @.
 
index 19d0d67..1a8df49 100644 (file)
@@ -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