X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Flinux%2Fcompat%2Ftime.c;h=490e1a4f77d221a8309489e4989cf5e8564adf6d;hb=6455100f38e9312346f4d58511595f695d813537;hp=ad3ee9440815203de74e0c538a1f83ae798ff20b;hpb=d929d22c2c543ae3ceafa90b378154e6b4cf9a56;p=sliver-openvswitch.git diff --git a/datapath/linux/compat/time.c b/datapath/linux/compat/time.c index ad3ee9440..490e1a4f7 100644 --- a/datapath/linux/compat/time.c +++ b/datapath/linux/compat/time.c @@ -22,7 +22,7 @@ * For negative values only the tv_sec field is negative ! */ void set_normalized_timespec(struct timespec *ts, - time_t sec, long nsec) + time_t sec, long nsec) { while (nsec >= NSEC_PER_SEC) { nsec -= NSEC_PER_SEC;