diff options
author | 2002-07-27 08:01:47 +0000 | |
---|---|---|
committer | 2002-07-27 08:01:47 +0000 | |
commit | 89d1da3af52856b0ab6c6c3c63cf3865fe5e3e71 (patch) | |
tree | bc8e8f8f2dd4ee8db82322048348eba28b2a45b2 /sys/dev/sequencer.c | |
parent | limit this to the right architectures (diff) | |
download | wireguard-openbsd-89d1da3af52856b0ab6c6c3c63cf3865fe5e3e71.tar.xz wireguard-openbsd-89d1da3af52856b0ab6c6c3c63cf3865fe5e3e71.zip |
Variable name typo in debugging code. tick -> ticks.
Diffstat (limited to 'sys/dev/sequencer.c')
-rw-r--r-- | sys/dev/sequencer.c | 6 |
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; |