From: jasper Date: Sat, 12 Jul 2014 19:47:38 +0000 (+0000) Subject: rename variable to better indicate it's meaning X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7217c75eb0ae6e95ab292c5600dcf5818a42372a;p=openbsd rename variable to better indicate it's meaning --- diff --git a/sys/arch/octeon/stand/boot/clock.c b/sys/arch/octeon/stand/boot/clock.c index 46345fef00b..acccf606ecf 100644 --- a/sys/arch/octeon/stand/boot/clock.c +++ b/sys/arch/octeon/stand/boot/clock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clock.c,v 1.2 2013/06/05 02:45:37 jasper Exp $ */ +/* $OpenBSD: clock.c,v 1.3 2014/07/12 19:47:38 jasper Exp $ */ /* * Copyright (c) 2013 Jasper Lievisse Adriaanse @@ -24,9 +24,9 @@ #define DELAY_MULTIPLIER 10000 void -delay(int ns) +delay(int ms) { - volatile int i = ns * DELAY_MULTIPLIER; + volatile int i = ms * DELAY_MULTIPLIER; for (; --i;) ; }