summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2004-10-10 07:13:17 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2004-10-10 07:13:17 +0000
commit4a9609977c6ea23177746ebc22d61cccccec2267 (patch)
treee011afc5275bb6ab8569016e39819b26a3f7569b /sys/dev
parent30548eab1ea6e8a6785eb58bbf97ec3c2da74aac (diff)
Use the correct API for /dev/sequencer. From Alexandre Ratchov.
'looks correct' henning@ djm@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/sequencer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sequencer.c b/sys/dev/sequencer.c
index 517a3fdc523..74d1ef0ba94 100644
--- a/sys/dev/sequencer.c
+++ b/sys/dev/sequencer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sequencer.c,v 1.9 2003/09/23 16:51:12 millert Exp $ */
+/* $OpenBSD: sequencer.c,v 1.10 2004/10/10 07:13:16 jsg Exp $ */
/* $NetBSD: sequencer.c,v 1.13 1998/11/25 22:17:07 augustss Exp $ */
/*
@@ -176,7 +176,7 @@ sequenceropen(dev, flags, ifmt, p)
sc = &seqdevs[unit];
if (sc->isopen)
return (EBUSY);
- if (SEQ_IS_OLD(unit))
+ if (SEQ_IS_OLD(dev))
sc->mode = SEQ_OLD;
else
sc->mode = SEQ_NEW;