readelf.c: Fix a typo in comments

Message ID 20200309014446.1228723-1-hjl.tools@gmail.com
State New
Headers show
Series
  • readelf.c: Fix a typo in comments
Related show

Commit Message

H.J. Lu March 9, 2020, 1:44 a.m.
* readelf.c (get_dynamic_data): Replace "memory chekers" with
	"memory checkers" in comments.
---
 binutils/ChangeLog | 5 +++++
 binutils/readelf.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

-- 
2.24.1

Patch

diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 2db388daf4..b520cc9699 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@ 
+2020-03-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* readelf.c (get_dynamic_data): Replace "memory chekers" with
+	"memory checkers" in comments.
+
 2020-03-06  Simon Marchi  <simon.marchi@efficios.com>
 
 	PR 25491
diff --git a/binutils/readelf.c b/binutils/readelf.c
index d4756c93b3..0df2af8411 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -11428,7 +11428,7 @@  get_dynamic_data (Filedata * filedata, bfd_size_type number, unsigned int ent_si
       return NULL;
     }
 
-  /* Be kind to memory chekers (eg valgrind, address sanitizer) by not
+  /* Be kind to memory checkers (eg valgrind, address sanitizer) by not
      attempting to allocate memory when the read is bound to fail.  */
   if (ent_size * number > filedata->file_size)
     {