about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2012-09-05 15:19:44 -0300
committerAlexandre Oliva <lxoliva@fsfla.org>2012-09-05 15:19:44 -0300
commitfad64255f4b49e3acb506b2a09972c2ff1255f8a (patch)
treee295949a0c3811c237563070d1d063e563af45ad
parent1ffb8c9001398e1c6402e455b566dfe3d84a0786 (diff)
downloadglibc-fad64255f4b49e3acb506b2a09972c2ff1255f8a.tar.gz
glibc-fad64255f4b49e3acb506b2a09972c2ff1255f8a.tar.xz
glibc-fad64255f4b49e3acb506b2a09972c2ff1255f8a.zip
Fix typos in malloc/.
	* malloc/mcheck.c (mcheck_check_all): Fix typo.
	* malloc/memusage.c (mmap): Likewise.
	(mmap64, mremap): Likewise.  Adjust name in comment.
-rw-r--r--ChangeLog6
-rw-r--r--malloc/mcheck.c2
-rw-r--r--malloc/memusage.c6
3 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 244dc80800..db63a81d0e 100644
--- 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.
diff --git a/malloc/mcheck.c b/malloc/mcheck.c
index 9d8a414676..430f87139d 100644
--- a/malloc/mcheck.c
+++ b/malloc/mcheck.c
@@ -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;
 
diff --git a/malloc/memusage.c b/malloc/memusage.c
index d26c4beb0c..2f6b6b57ba 100644
--- a/malloc/memusage.c
+++ b/malloc/memusage.c
@@ -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,  ...)