summary refs log tree commit diff
path: root/libio
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2012-09-25 09:28:43 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2012-09-25 09:28:43 +0530
commit2b4f00d1a42b705521ca205ad8285dde82d84f2b (patch)
tree93f07822c7f252fb5ac4d1dc2a347ae59950a082 /libio
parent57c69bef13298a3fbcedebf4c5fcecc690b75efb (diff)
downloadglibc-2b4f00d1a42b705521ca205ad8285dde82d84f2b.tar.gz
glibc-2b4f00d1a42b705521ca205ad8285dde82d84f2b.tar.xz
glibc-2b4f00d1a42b705521ca205ad8285dde82d84f2b.zip
Fix minor typos in comments
Diffstat (limited to 'libio')
-rw-r--r--libio/fileops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/fileops.c b/libio/fileops.c
index 43973c535d..e22efdec13 100644
--- a/libio/fileops.c
+++ b/libio/fileops.c
@@ -984,10 +984,10 @@ _IO_new_file_seekoff (fp, offset, dir, mode)
   /* Flush unwritten characters.
      (This may do an unneeded write if we seek within the buffer.
      But to be able to switch to reading, we would need to set
-     egptr to ptr.  That can't be done in the current design,
+     egptr to pptr.  That can't be done in the current design,
      which assumes file_ptr() is eGptr.  Anyway, since we probably
      end up flushing when we close(), it doesn't make much difference.)
-     FIXME: simulate mem-papped files. */
+     FIXME: simulate mem-mapped files. */
 
   if (fp->_IO_write_ptr > fp->_IO_write_base || _IO_in_put_mode (fp))
     if (_IO_switch_to_get_mode (fp))