PERFORCE change 112703 for review
Warner Losh
imp at FreeBSD.org
Wed Jan 10 00:35:00 PST 2007
http://perforce.freebsd.org/chv.cgi?CH=112703
Change 112703 by imp at imp_lighthouse on 2007/01/10 08:34:50
Return time_state rather than 0/-1 to userland.
Affected files ...
.. //depot/projects/arm/src/sys/kern/kern_ntptime.c#4 edit
Differences ...
==== //depot/projects/arm/src/sys/kern/kern_ntptime.c#4 (text+ko) ====
@@ -268,6 +268,7 @@
ntp_gettime1(&ntv);
mtx_unlock(&Giant);
+ td->td_retvall[0] = ntv.time_state;
return (copyout(&ntv, uap->ntvp, sizeof(ntv)));
}
More information about the p4-projects
mailing list