summaryrefslogtreecommitdiff
path: root/util/flashrom/udelay.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/flashrom/udelay.c')
-rw-r--r--util/flashrom/udelay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/flashrom/udelay.c b/util/flashrom/udelay.c
index e2fd31067b..91c3c6dad5 100644
--- a/util/flashrom/udelay.c
+++ b/util/flashrom/udelay.c
@@ -8,7 +8,7 @@ unsigned long micro = 1;
void myusec_delay(int time)
{
volatile unsigned long i;
- for (i = 0; i < time * micro; i++);
+ for (i = 0; i < time * micro; i++) ;
}
void myusec_calibrate_delay()
@@ -34,5 +34,5 @@ void myusec_calibrate_delay()
// compute one microsecond. That will be count / time
micro = count / timeusec;
- printf_debug("%ldM loops per second\n", (unsigned long) micro);
+ printf_debug("%ldM loops per second\n", (unsigned long)micro);
}