aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);