Fix typos in malloc/.
authorAlexandre Oliva <aoliva@redhat.com>
Wed, 5 Sep 2012 18:19:44 +0000 (15:19 -0300)
committerAlexandre Oliva <lxoliva@fsfla.org>
Wed, 5 Sep 2012 18:19:44 +0000 (15:19 -0300)
* malloc/mcheck.c (mcheck_check_all): Fix typo.
* malloc/memusage.c (mmap): Likewise.
(mmap64, mremap): Likewise.  Adjust name in comment.

ChangeLog
malloc/mcheck.c
malloc/memusage.c

index 244dc80..db63a81 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
+
+       * malloc/mcheck.c (mcheck_check_all): Fix typo.
+       * malloc/memusage.c (mmap): Likewise.
+       (mmap64, mremap): Likewise.  Adjust name in comment.
+
 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
        * libio/fileops.c: Fix typos in comments.
index 9d8a414..430f871 100644 (file)
@@ -122,7 +122,7 @@ checkhdr (const struct hdr *hdr)
 void
 mcheck_check_all (void)
 {
-  /* Walk through all the active blocks and test whether they were tempered
+  /* Walk through all the active blocks and test whether they were tampered
      with.  */
   struct hdr *runp = root;
 
index d26c4be..2f6b6b5 100644 (file)
@@ -564,7 +564,7 @@ free (void *ptr)
 }
 
 
-/* `mmap' replacement.  We do not have to keep track of the sizesince
+/* `mmap' replacement.  We do not have to keep track of the size since
    `munmap' will get it as a parameter.  */
 void *
 mmap (void *start, size_t len, int prot, int flags, int fd, off_t offset)
@@ -616,7 +616,7 @@ mmap (void *start, size_t len, int prot, int flags, int fd, off_t offset)
 }
 
 
-/* `mmap' replacement.  We do not have to keep track of the sizesince
+/* `mmap64' replacement.  We do not have to keep track of the size since
    `munmap' will get it as a parameter.  */
 void *
 mmap64 (void *start, size_t len, int prot, int flags, int fd, off64_t offset)
@@ -668,7 +668,7 @@ mmap64 (void *start, size_t len, int prot, int flags, int fd, off64_t offset)
 }
 
 
-/* `mmap' replacement.  We do not have to keep track of the sizesince
+/* `mremap' replacement.  We do not have to keep track of the size since
    `munmap' will get it as a parameter.  */
 void *
 mremap (void *start, size_t old_len, size_t len, int flags,  ...)