[COMMITTED PATCH] _res_hconf_reorder_addrs: fix typo in comment

Dmitry V. Levin ldv@altlinux.org
Tue Jun 23 13:41:00 GMT 2015


* resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo in comment.
---
 ChangeLog          | 5 +++++
 resolv/res_hconf.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/resolv/res_hconf.c b/resolv/res_hconf.c
index b9c229d..c9642ce 100644
--- a/resolv/res_hconf.c
+++ b/resolv/res_hconf.c
@@ -421,7 +421,7 @@ _res_hconf_reorder_addrs (struct hostent *hp)
       /* Get lock.  */
       __libc_lock_lock (lock);
 
-      /* Recheck, somebody else might have done the work by done.  */
+      /* Recheck, somebody else might have done the work by now.  */
       if (num_ifs <= 0)
 	{
 	  int new_num_ifs = 0;

-- 
ldv



More information about the Libc-alpha mailing list