summaryrefslogtreecommitdiffstats
path: root/sys/pci/meteor.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-08-18 00:32:50 +0000
committerbde <bde@FreeBSD.org>1998-08-18 00:32:50 +0000
commit09bd4b96031eb28e1f510c7fd8cb02e65daee9a0 (patch)
tree06b5b642aeea9a9a24327add2f724aa180a02b2f /sys/pci/meteor.c
parent744645c0346324449f43323c246d39ca4bef546c (diff)
downloadFreeBSD-src-09bd4b96031eb28e1f510c7fd8cb02e65daee9a0.zip
FreeBSD-src-09bd4b96031eb28e1f510c7fd8cb02e65daee9a0.tar.gz
Fixed printf format errors.
Diffstat (limited to 'sys/pci/meteor.c')
-rw-r--r--sys/pci/meteor.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/pci/meteor.c b/sys/pci/meteor.c
index 65824ca..c65860b 100644
--- a/sys/pci/meteor.c
+++ b/sys/pci/meteor.c
@@ -963,7 +963,8 @@ meteor_init ( meteor_reg_t *mtr )
SAA7196_REG(mtr, SAA7196_STDC) & ~0x02);
SAA7196_READ(mtr);
printf("meteor%d: <Philips SAA 7196> rev 0x%x\n",
- METEOR_NUM(mtr), (mtr->base->i2c_read&0xff000000L)>>28);
+ METEOR_NUM(mtr),
+ (unsigned)((mtr->base->i2c_read & 0xff000000L) >> 28));
} else {
i2c_print_err = 1;
printf("meteor%d: <Philips SAA 7196 NOT FOUND>\n",
@@ -1042,7 +1043,7 @@ met_attach(pcici_t tag, int unit)
pci_conf_write(tag, PCI_LATENCY_TIMER, latency<<8);
}
if(bootverbose) {
- printf(" %d.\n", latency);
+ printf(" %lu.\n", latency);
}
meteor_init(mtr); /* set up saa7116, saa7196, and rgb module */
OpenPOWER on IntegriCloud