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 <[email protected]>, Willem Jan Withagen 
<[email protected]>

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) \
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to