svn commit: r293653 - head/contrib/hyperv/tools

Sepherosa Ziehau sephe at FreeBSD.org
Mon Jan 11 03:30:17 UTC 2016


Author: sephe
Date: Mon Jan 11 03:30:16 2016
New Revision: 293653
URL: https://svnweb.freebsd.org/changeset/base/293653

Log:
  hyperv/kvp_daemon: Make poll(2) block indefinitely
  
  Submitted by:	Jun Su <junsu microsoft com>
  Reviewed by:	Dexuan Cui <decui microsoft com>, me, adrain
  Approved by:	adrian
  Sponsored by:	Microsoft OSTC
  Differential Revision:	https://reviews.freebsd.org/D4762

Modified:
  head/contrib/hyperv/tools/hv_kvp_daemon.c

Modified: head/contrib/hyperv/tools/hv_kvp_daemon.c
==============================================================================
--- head/contrib/hyperv/tools/hv_kvp_daemon.c	Mon Jan 11 01:48:16 2016	(r293652)
+++ head/contrib/hyperv/tools/hv_kvp_daemon.c	Mon Jan 11 03:30:16 2016	(r293653)
@@ -1437,7 +1437,7 @@ main(int argc, char *argv[])
 
 
 	for (;;) {
-		r = poll (hv_kvp_poll_fd, 1, 100);
+		r = poll (hv_kvp_poll_fd, 1, INFTIM);
 
 		KVP_LOG(LOG_DEBUG, "poll returned r = %d, revent = 0x%x\n",
 		    r, hv_kvp_poll_fd[0].revents);


More information about the svn-src-all mailing list