about summary refs log tree commit diff
path: root/nscd/nscd_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'nscd/nscd_helper.c')
-rw-r--r--nscd/nscd_helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nscd/nscd_helper.c b/nscd/nscd_helper.c
index 394b2f86e6..b94bc02077 100644
--- a/nscd/nscd_helper.c
+++ b/nscd/nscd_helper.c
@@ -147,7 +147,7 @@ open_socket (request_type type, const char *key, size_t keylen)
       int to;
       if (first_try)
 	{
-	  gettimeofday (&tvend, NULL);
+	  (void) __gettimeofday (&tvend, NULL);
 	  tvend.tv_sec += 5;
 	  to = 5 * 1000;
 	  first_try = false;
@@ -155,7 +155,7 @@ open_socket (request_type type, const char *key, size_t keylen)
       else
 	{
 	  struct timeval now;
-	  gettimeofday (&now, NULL);
+	  (void) __gettimeofday (&now, NULL);
 	  to = ((tvend.tv_sec - now.tv_sec) * 1000
 		+ (tvend.tv_usec - now.tv_usec) / 1000);
 	}