Module Name:    src
Committed By:   riastradh
Date:           Mon Aug 27 06:42:18 UTC 2018

Modified Files:
        src/sys/external/bsd/drm2/include/linux: jiffies.h

Log Message:
Call the parameter by its name, not its nickname!


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/external/bsd/drm2/include/linux/jiffies.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/external/bsd/drm2/include/linux/jiffies.h
diff -u src/sys/external/bsd/drm2/include/linux/jiffies.h:1.8 src/sys/external/bsd/drm2/include/linux/jiffies.h:1.9
--- src/sys/external/bsd/drm2/include/linux/jiffies.h:1.8	Mon Aug 27 06:18:41 2018
+++ src/sys/external/bsd/drm2/include/linux/jiffies.h	Mon Aug 27 06:42:17 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: jiffies.h,v 1.8 2018/08/27 06:18:41 riastradh Exp $	*/
+/*	$NetBSD: jiffies.h,v 1.9 2018/08/27 06:42:17 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -46,7 +46,7 @@ nsecs_to_jiffies64(uint64_t nsec)
 {
 
 	/* XXX Arbitrary cutoff, should review the arithmetic.  */
-	if (((1000000000 % hz) == 0) || (ns >= 20000000000ul))
+	if (((1000000000 % hz) == 0) || (nsec >= 20000000000ul))
 		return (nsec/1000000000)*hz;
 	else
 		return (nsec*hz)/1000000000;

Reply via email to