rconn: Make rconn_connect() a 'void' function.
[openvswitch] / ofproto / ofproto-sflow.c
index 60baf0e9e82c2f3bbba1ad351baaca5164c20244..37c1bb7f457a7ec0da1cab05a43bb15dc8cbe94f 100644 (file)
@@ -607,6 +607,6 @@ void
 ofproto_sflow_wait(struct ofproto_sflow *os)
 {
     if (ofproto_sflow_is_enabled(os)) {
-        poll_timer_wait(os->next_tick * 1000 - time_msec());
+        poll_timer_wait_until(os->next_tick * 1000LL);
     }
 }