diff options
author | ngie <ngie@FreeBSD.org> | 2015-01-21 10:47:28 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-01-21 10:47:28 +0000 |
commit | 62e65f40de0cda6f2f78e3775e559f18ad51ff4e (patch) | |
tree | a0105edf015106197ad4219e4fae045d71ee0323 /cddl/contrib/opensolaris/lib/libzpool/common | |
parent | 7dd0db5f007e26595bddfe3a3872c5d75467ef85 (diff) | |
download | FreeBSD-src-62e65f40de0cda6f2f78e3775e559f18ad51ff4e.zip FreeBSD-src-62e65f40de0cda6f2f78e3775e559f18ad51ff4e.tar.gz |
Follow up to r277449 by fixing the remaining NSEC_TO_TICK macro to have the same
named parameters
Reported by: Ben Perrault <ben.perrault@gmail.com>, Willem Jan Withagen <wjw@digiware.nl>
Diffstat (limited to 'cddl/contrib/opensolaris/lib/libzpool/common')
-rw-r--r-- | cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h b/cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h index 03027c3..493be33 100644 --- a/cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h +++ b/cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h @@ -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) \ |