summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>1999-02-12 01:51:37 +0000
committerthorpej <thorpej@NetBSD.org>1999-02-12 01:51:37 +0000
commit873e1d2a5146e363df64d81d87dcb6e22a5cdb4e (patch)
tree4b7d2ea6a8222bef8eff55573b41e063e006df1e /sys/dev/ic
parent5194c207d0d36e5fbbe2d93df149431c6801feb8 (diff)
Fix printf format problems on Alpha.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/lpt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/lpt.c b/sys/dev/ic/lpt.c
index 669ed74d30a..ade9a6e91b7 100644
--- a/sys/dev/ic/lpt.c
+++ b/sys/dev/ic/lpt.c
@@ -1,4 +1,4 @@
-/* $NetBSD: lpt.c,v 1.52 1998/10/14 20:09:06 perry Exp $ */
+/* $NetBSD: lpt.c,v 1.53 1999/02/12 01:51:37 thorpej Exp $ */
/*
* Copyright (c) 1993, 1994 Charles M. Hannum.
@@ -318,8 +318,8 @@ lptpushbytes(sc)
while (sc->sc_count > 0) {
/* if the printer is ready for a char, give it one */
if ((sc->sc_state & LPT_OBUSY) == 0) {
- LPRINTF(("%s: write %u\n", sc->sc_dev.dv_xname,
- sc->sc_count));
+ LPRINTF(("%s: write %lu\n", sc->sc_dev.dv_xname,
+ (u_long)sc->sc_count));
s = spllpt();
(void) lptintr(sc);
splx(s);