about summary refs log tree commit diff
path: root/resolv/res_mkquery.c
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 /resolv/res_mkquery.c
parentdcca3fe25f4a57f351ce95253f32e191dfe1167d (diff)
downloadglibc-29e11320c90722aec6335a5f8d8af84d12ba3c6b.tar.gz
glibc-29e11320c90722aec6335a5f8d8af84d12ba3c6b.tar.xz
glibc-29e11320c90722aec6335a5f8d8af84d12ba3c6b.zip
Update.
2004-09-19  Ulrich Drepper  <drepper@redhat.com>

	* resolv/res_mkquery.c (res_nmkquery): Fix typo.
Diffstat (limited to 'resolv/res_mkquery.c')
-rw-r--r--resolv/res_mkquery.c2
1 files changed, 1 insertions, 1 deletions
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);