From 4a9609977c6ea23177746ebc22d61cccccec2267 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Sun, 10 Oct 2004 07:13:17 +0000 Subject: Use the correct API for /dev/sequencer. From Alexandre Ratchov. 'looks correct' henning@ djm@ --- sys/dev/sequencer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev') 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; -- cgit v1.2.3