PERFORCE change 106624 for review
Christian S.J. Peron
csjp at FreeBSD.org
Sun Sep 24 16:38:25 PDT 2006
http://perforce.freebsd.org/chv.cgi?CH=106624
Change 106624 by csjp at csjp_xor on 2006/09/24 23:38:03
Fix build on Darwin:
s,tv_msec,tv_usec,g
Affected files ...
.. //depot/projects/trustedbsd/openbsm/compat/clock_gettime.h#2 edit
Differences ...
==== //depot/projects/trustedbsd/openbsm/compat/clock_gettime.h#2 (text+ko) ====
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $P4: //depot/projects/trustedbsd/openbsm/compat/clock_gettime.h#1 $
+ * $P4: //depot/projects/trustedbsd/openbsm/compat/clock_gettime.h#2 $
*/
/*
@@ -49,6 +49,6 @@
if (gettimeofday(&tv, NULL) < 0)
return (-1);
ts->tv_sec = tv.tv_sec;
- ts->tv_nsec = tv.tv_msec * 1000;
+ ts->tv_nsec = tv.tv_usec * 1000;
return (0);
}
More information about the trustedbsd-cvs
mailing list