about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-06-24 18:07:37 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-06-24 18:07:37 +0530
commita31ee4b3a5c0a7a0e0af293fb3b758bf045e9a82 (patch)
treec8648b46c7f7b24752785128e2d6c14e656ccbcb
parent09d91fde6b00c8969bffff7a00a68c8f610ce73e (diff)
downloadglibc-a31ee4b3a5c0a7a0e0af293fb3b758bf045e9a82.tar.gz
glibc-a31ee4b3a5c0a7a0e0af293fb3b758bf045e9a82.tar.xz
glibc-a31ee4b3a5c0a7a0e0af293fb3b758bf045e9a82.zip
Fix typo in comment
-rw-r--r--ChangeLog4
-rw-r--r--nscd/connections.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ac92ef1647..3dbc688961 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+	* nscd/connections.c (nscd_init): Fix comment.
+
 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
diff --git a/nscd/connections.c b/nscd/connections.c
index 69e3e7dc08..e54d4f213a 100644
--- a/nscd/connections.c
+++ b/nscd/connections.c
@@ -722,8 +722,8 @@ cannot create read-only descriptor for \"%s\"; no mmap"),
 cannot create read-only descriptor for \"%s\"; no mmap"),
 			   dbs[cnt].db_filename);
 
-		/* Before we create the header, initialiye the hash
-		   table.  So that if we get interrupted if writing
+		/* Before we create the header, initialize the hash
+		   table.  That way if we get interrupted while writing
 		   the header we can recognize a partially initialized
 		   database.  */
 		size_t ps = sysconf (_SC_PAGESIZE);