X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Flinux-2.6%2Fcompat-2.6%2Ftime.c;h=ad3ee9440815203de74e0c538a1f83ae798ff20b;hb=8c7ea6a0c0d44f707eef136b77ac0dd1c55509a4;hp=b07ee267ee4ab93895f33cc0f40dcf32ae4e6450;hpb=a644bae6eec521119252221d4aa989168eccc22b;p=sliver-openvswitch.git diff --git a/datapath/linux-2.6/compat-2.6/time.c b/datapath/linux-2.6/compat-2.6/time.c index b07ee267e..ad3ee9440 100644 --- a/datapath/linux-2.6/compat-2.6/time.c +++ b/datapath/linux-2.6/compat-2.6/time.c @@ -4,7 +4,7 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26) -/* "set_normalized_timespec" is defined but not exported in kernels +/* "set_normalized_timespec" is defined but not exported in kernels * before 2.6.26. */ /** @@ -21,7 +21,7 @@ * 0 <= tv_nsec < NSEC_PER_SEC * For negative values only the tv_sec field is negative ! */ -void set_normalized_timespec(struct timespec *ts, +void set_normalized_timespec(struct timespec *ts, time_t sec, long nsec) { while (nsec >= NSEC_PER_SEC) {