about summary refs log tree commit diff
path: root/manual
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2010-07-29 10:49:42 -0700
committerRoland McGrath <roland@redhat.com>2010-07-29 10:49:42 -0700
commit48cbc0d6d03b0591280489ddb6a2df60b850e57d (patch)
tree3a0d4b95fa2a8b46ffcf294cf23061ca3633b823 /manual
parent02b7acedbb6e98113571eb9f06a5b8683b20e942 (diff)
downloadglibc-48cbc0d6d03b0591280489ddb6a2df60b850e57d.tar.gz
glibc-48cbc0d6d03b0591280489ddb6a2df60b850e57d.tar.xz
glibc-48cbc0d6d03b0591280489ddb6a2df60b850e57d.zip
BZ 11856: fix manual nit
Diffstat (limited to 'manual')
-rw-r--r--manual/locale.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/locale.texi b/manual/locale.texi
index e3e0563a36..d1a50cb0f4 100644
--- a/manual/locale.texi
+++ b/manual/locale.texi
@@ -1210,7 +1210,7 @@ This function would normally be used like this:
   /* @r{Prepare the @code{getline} call.}  */
   line = NULL;
   len = 0;
-  while (getline (&line, &len, stdout) >= 0)
+  while (getline (&line, &len, stdin) >= 0)
     @{
       /* @r{Check the response.}  */
       int res = rpmatch (line);