Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2015 22:29:27 +0000 (UTC)
From:      Will Andrews <will@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r277449 - head/sys/cddl/compat/opensolaris/sys
Message-ID:  <201501202229.t0KMTReZ071739@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: will
Date: Tue Jan 20 22:29:27 2015
New Revision: 277449
URL: https://svnweb.freebsd.org/changeset/base/277449

Log:
  NSEC_TO_TICK(usec) -> NSEC_TO_TICK(nsec)

Modified:
  head/sys/cddl/compat/opensolaris/sys/time.h

Modified: head/sys/cddl/compat/opensolaris/sys/time.h
==============================================================================
--- head/sys/cddl/compat/opensolaris/sys/time.h	Tue Jan 20 22:27:45 2015	(r277448)
+++ head/sys/cddl/compat/opensolaris/sys/time.h	Tue Jan 20 22:29:27 2015	(r277449)
@@ -51,7 +51,7 @@ typedef longlong_t	hrtime_t;
 #endif
 
 #define	SEC_TO_TICK(sec)	((sec) * hz)
-#define	NSEC_TO_TICK(usec)	((usec) / (NANOSEC / hz))
+#define	NSEC_TO_TICK(nsec)	((nsec) / (NANOSEC / hz))
 
 #ifdef _KERNEL
 static __inline hrtime_t



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501202229.t0KMTReZ071739>