diff options
author | bde <bde@FreeBSD.org> | 1998-08-18 00:32:50 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-08-18 00:32:50 +0000 |
commit | 09bd4b96031eb28e1f510c7fd8cb02e65daee9a0 (patch) | |
tree | 06b5b642aeea9a9a24327add2f724aa180a02b2f /sys/scsi/scsiconf.c | |
parent | 744645c0346324449f43323c246d39ca4bef546c (diff) | |
download | FreeBSD-src-09bd4b96031eb28e1f510c7fd8cb02e65daee9a0.zip FreeBSD-src-09bd4b96031eb28e1f510c7fd8cb02e65daee9a0.tar.gz |
Fixed printf format errors.
Diffstat (limited to 'sys/scsi/scsiconf.c')
-rw-r--r-- | sys/scsi/scsiconf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c index 50a6a95..f805edc 100644 --- a/sys/scsi/scsiconf.c +++ b/sys/scsi/scsiconf.c @@ -16,7 +16,7 @@ * * New configuration setup: dufault@hda.com * - * $Id: scsiconf.c,v 1.106 1998/07/11 07:45:58 bde Exp $ + * $Id: scsiconf.c,v 1.107 1998/07/28 09:03:37 phk Exp $ */ #include "opt_scsi.h" @@ -1446,14 +1446,14 @@ scsi_probedev(sc_link, maybe_more, type_p) sc_print_start(sc_link); printf("<%s %s %s> ", manu, model, version ); - printf("type %ld %sSCSI %d" - ,type + printf("type %lu %sSCSI %d" + ,(u_long)type ,remov ? "removable " : "fixed " ,inqbuf->version & SID_ANSII ); if (qtype[0]) { sc_print_addr(sc_link); - printf(" qualifier %ld: %s" ,qualifier ,qtype); + printf(" qualifier %lu: %s", (u_long)qualifier, qtype); } printf("\n"); |