Date: Sun, 24 Sep 2006 23:38:22 GMT From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 106624 for review Message-ID: <200609242338.k8ONcMjX097050@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=106624 Change 106624 by csjp@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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609242338.k8ONcMjX097050>