summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorThomas Nordin <nordin@cvs.openbsd.org>2002-07-27 08:01:48 +0000
committerThomas Nordin <nordin@cvs.openbsd.org>2002-07-27 08:01:48 +0000
commit08fde9efdb250c1a8ff95f6019301ba4643e1fa3 (patch)
tree37ed1ad298db7e7ff88bbafdb1e83ecf2375c132 /sys/dev
parentd6a00ccbb2a66d0899396b60c2cb95689c443daa (diff)
Variable name typo in debugging code. tick -> ticks.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/sequencer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sequencer.c b/sys/dev/sequencer.c
index 25cc5b97330..75c56f9ded0 100644
--- a/sys/dev/sequencer.c
+++ b/sys/dev/sequencer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sequencer.c,v 1.7 2002/03/14 01:26:52 millert Exp $ */
+/* $OpenBSD: sequencer.c,v 1.8 2002/07/27 08:01:47 nordin Exp $ */
/* $NetBSD: sequencer.c,v 1.13 1998/11/25 22:17:07 augustss Exp $ */
/*
@@ -884,7 +884,7 @@ seq_timer(sc, cmd, parm, b)
when.tv_sec, when.tv_usec));
ADDTIMEVAL(&when, &t->start); /* abstime for end */
ticks = hzto(&when);
- DPRINTFN(4, (" when+start=%ld.%06ld, tick=%d\n",
+ DPRINTFN(4, (" when+start=%ld.%06ld, ticks=%d\n",
when.tv_sec, when.tv_usec, ticks));
if (ticks > 0) {
#ifdef DIAGNOSTIC
@@ -898,7 +898,7 @@ seq_timer(sc, cmd, parm, b)
timeout_add(&sc->timo, ticks);
}
#ifdef SEQUENCER_DEBUG
- else if (tick < 0)
+ else if (ticks < 0)
DPRINTF(("seq_timer: ticks = %d\n", ticks));
#endif
break;