diff options
| author | cgd <cgd@NetBSD.org> | 1993-09-28 21:26:59 +0000 |
|---|---|---|
| committer | cgd <cgd@NetBSD.org> | 1993-09-28 21:26:59 +0000 |
| commit | b85a24ec4efbdc0f48f1c862eed79b82d055a50e (patch) | |
| tree | fdc345f98c8b54828324822c16b79ff1b7e4c14a /sys/dev | |
| parent | d9a465e8afdd21a899162a9e18d6842a7a1e32e7 (diff) | |
get rid of stray printfs (turn them into "lprintf"s)
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ic/lpt.c | 7 | ||||
| -rw-r--r-- | sys/dev/ic/lptvar.h | 7 | ||||
| -rw-r--r-- | sys/dev/isa/lpt.c | 7 | ||||
| -rw-r--r-- | sys/dev/isa/lpt_isa.c | 7 |
4 files changed, 12 insertions, 16 deletions
diff --git a/sys/dev/ic/lpt.c b/sys/dev/ic/lpt.c index b5db7b10032..df449c79d7d 100644 --- a/sys/dev/ic/lpt.c +++ b/sys/dev/ic/lpt.c @@ -45,7 +45,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: lpt.c,v 1.7 1993/07/17 16:20:32 mycroft Exp $ + * $Id: lpt.c,v 1.8 1993/09/28 21:26:59 cgd Exp $ */ /* @@ -239,8 +239,7 @@ lptopen(dev, flag) int trys, port; if (sc->sc_state) { -lprintf("lp: still open\n") ; -printf("still open %x\n", sc->sc_state); +lprintf("lp: still open %x\n", sc->sc_state); return(EBUSY); } else sc->sc_state |= INIT; @@ -266,7 +265,7 @@ lprintf("lp flags 0x%x\n", sc->sc_flags); if (trys++ >= LPINITRDY*4) { splx(s); sc->sc_state = 0; -printf ("status %x\n", inb(port+lpt_status) ); +lprintf ("status %x\n", inb(port+lpt_status) ); return (EBUSY); } diff --git a/sys/dev/ic/lptvar.h b/sys/dev/ic/lptvar.h index 82b9e51c0b6..75199e386be 100644 --- a/sys/dev/ic/lptvar.h +++ b/sys/dev/ic/lptvar.h @@ -45,7 +45,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: lptvar.h,v 1.7 1993/07/17 16:20:32 mycroft Exp $ + * $Id: lptvar.h,v 1.8 1993/09/28 21:26:59 cgd Exp $ */ /* @@ -239,8 +239,7 @@ lptopen(dev, flag) int trys, port; if (sc->sc_state) { -lprintf("lp: still open\n") ; -printf("still open %x\n", sc->sc_state); +lprintf("lp: still open %x\n", sc->sc_state); return(EBUSY); } else sc->sc_state |= INIT; @@ -266,7 +265,7 @@ lprintf("lp flags 0x%x\n", sc->sc_flags); if (trys++ >= LPINITRDY*4) { splx(s); sc->sc_state = 0; -printf ("status %x\n", inb(port+lpt_status) ); +lprintf ("status %x\n", inb(port+lpt_status) ); return (EBUSY); } diff --git a/sys/dev/isa/lpt.c b/sys/dev/isa/lpt.c index b5db7b10032..df449c79d7d 100644 --- a/sys/dev/isa/lpt.c +++ b/sys/dev/isa/lpt.c @@ -45,7 +45,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: lpt.c,v 1.7 1993/07/17 16:20:32 mycroft Exp $ + * $Id: lpt.c,v 1.8 1993/09/28 21:26:59 cgd Exp $ */ /* @@ -239,8 +239,7 @@ lptopen(dev, flag) int trys, port; if (sc->sc_state) { -lprintf("lp: still open\n") ; -printf("still open %x\n", sc->sc_state); +lprintf("lp: still open %x\n", sc->sc_state); return(EBUSY); } else sc->sc_state |= INIT; @@ -266,7 +265,7 @@ lprintf("lp flags 0x%x\n", sc->sc_flags); if (trys++ >= LPINITRDY*4) { splx(s); sc->sc_state = 0; -printf ("status %x\n", inb(port+lpt_status) ); +lprintf ("status %x\n", inb(port+lpt_status) ); return (EBUSY); } diff --git a/sys/dev/isa/lpt_isa.c b/sys/dev/isa/lpt_isa.c index ca298a57ce3..bbed38a91c7 100644 --- a/sys/dev/isa/lpt_isa.c +++ b/sys/dev/isa/lpt_isa.c @@ -45,7 +45,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: lpt_isa.c,v 1.7 1993/07/17 16:20:32 mycroft Exp $ + * $Id: lpt_isa.c,v 1.8 1993/09/28 21:26:59 cgd Exp $ */ /* @@ -239,8 +239,7 @@ lptopen(dev, flag) int trys, port; if (sc->sc_state) { -lprintf("lp: still open\n") ; -printf("still open %x\n", sc->sc_state); +lprintf("lp: still open %x\n", sc->sc_state); return(EBUSY); } else sc->sc_state |= INIT; @@ -266,7 +265,7 @@ lprintf("lp flags 0x%x\n", sc->sc_flags); if (trys++ >= LPINITRDY*4) { splx(s); sc->sc_state = 0; -printf ("status %x\n", inb(port+lpt_status) ); +lprintf ("status %x\n", inb(port+lpt_status) ); return (EBUSY); } |
