aboutsummaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
Diffstat (limited to 'resolv')
-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);