summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-09-19 20:52:52 +0000
committerUlrich Drepper <drepper@redhat.com>2004-09-19 20:52:52 +0000
commit29e11320c90722aec6335a5f8d8af84d12ba3c6b (patch)
tree25302d6667f7306e37d24dfb4118e18d2df887c8
parentdcca3fe25f4a57f351ce95253f32e191dfe1167d (diff)
downloadglibc-29e11320c90722aec6335a5f8d8af84d12ba3c6b.tar.gz
Update.
2004-09-19 Ulrich Drepper <drepper@redhat.com> * resolv/res_mkquery.c (res_nmkquery): Fix typo.
-rw-r--r--ChangeLog4
-rw-r--r--resolv/res_mkquery.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c25b74742c..f847079669 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-09-19 Ulrich Drepper <drepper@redhat.com>
+
+ * resolv/res_mkquery.c (res_nmkquery): Fix typo.
+
2004-09-18 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unisx/sysv/linux/dl-execstack.c: Get protection flag
diff --git a/resolv/res_mkquery.c b/resolv/res_mkquery.c
index 2d25b169a2..5b705b0e8b 100644
--- a/resolv/res_mkquery.c
+++ b/resolv/res_mkquery.c
@@ -138,7 +138,7 @@ res_nmkquery(res_state statp,
#else
struct timeval tv;
__gettimeofday (&tv, NULL);
- random_time_bits = (tv.tv_sec << 8) ^ tv.tv_usec;
+ randombits = (tv.tv_sec << 8) ^ tv.tv_usec;
#endif
}
while (randombits == 0);