svn commit: r277484 - head/cddl/contrib/opensolaris/lib/libzpool/common/sys
Garrett Cooper
ngie at FreeBSD.org
Wed Jan 21 10:47:29 UTC 2015
Author: ngie
Date: Wed Jan 21 10:47:28 2015
New Revision: 277484
URL: https://svnweb.freebsd.org/changeset/base/277484
Log:
Follow up to r277449 by fixing the remaining NSEC_TO_TICK macro to have the same
named parameters
Reported by: Ben Perrault <ben.perrault at gmail.com>, Willem Jan Withagen <wjw at digiware.nl>
Modified:
head/cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h
Modified: head/cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h
==============================================================================
--- head/cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h Wed Jan 21 09:45:48 2015 (r277483)
+++ head/cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h Wed Jan 21 10:47:28 2015 (r277484)
@@ -535,7 +535,7 @@ extern vnode_t *rootdir;
extern void delay(clock_t ticks);
#define SEC_TO_TICK(sec) ((sec) * hz)
-#define NSEC_TO_TICK(usec) ((usec) / (NANOSEC / hz))
+#define NSEC_TO_TICK(nsec) ((nsec) / (NANOSEC / hz))
#define gethrestime_sec() time(NULL)
#define gethrestime(t) \
More information about the svn-src-head
mailing list