svn commit: r277449 - head/sys/cddl/compat/opensolaris/sys
Will Andrews
will at FreeBSD.org
Tue Jan 20 22:29:28 UTC 2015
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
More information about the svn-src-head
mailing list