From 9599da5de85ceb6a067810985b1e35255e6d8912 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 13 Oct 2009 12:23:28 +0000 Subject: [PATCH] Correct a copy/paste bug in a comment. lptclose() checks once a second to see if the ppc hardware has gone idle rather than four times a second. --- sys/dev/ppbus/lpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ppbus/lpt.c b/sys/dev/ppbus/lpt.c index 77ebaea561f..56b43788401 100644 --- a/sys/dev/ppbus/lpt.c +++ b/sys/dev/ppbus/lpt.c @@ -624,7 +624,7 @@ lptclose(struct cdev *dev, int flags, int fmt, struct thread *td) while ((ppb_rstr(ppbus) & (LPS_SEL|LPS_OUT|LPS_NBSY|LPS_NERR)) != (LPS_SEL|LPS_NBSY|LPS_NERR) || sc->sc_xfercnt) - /* wait 1/4 second, give up if we get a signal */ + /* wait 1 second, give up if we get a signal */ if (ppb_sleep(ppbus, lptdev, LPPRI | PCATCH, "lpclose", hz) != EWOULDBLOCK) break;