diff options
author | bde <bde@FreeBSD.org> | 1998-07-13 09:53:11 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-07-13 09:53:11 +0000 |
commit | 925110cd2319780c323091d214a7840895264611 (patch) | |
tree | 0b6db913180c8c762bccb935c7f679792b4a731f /sys/dev/mcd | |
parent | 8b9760c8843815ead46a252ff5760ee566fa9f0e (diff) | |
download | FreeBSD-src-925110cd2319780c323091d214a7840895264611.zip FreeBSD-src-925110cd2319780c323091d214a7840895264611.tar.gz |
Fixed printf format errors (only 1 left in GENERIC now).
Diffstat (limited to 'sys/dev/mcd')
-rw-r--r-- | sys/dev/mcd/mcd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/mcd/mcd.c b/sys/dev/mcd/mcd.c index 582198f..0e3bd17 100644 --- a/sys/dev/mcd/mcd.c +++ b/sys/dev/mcd/mcd.c @@ -40,7 +40,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: mcd.c,v 1.98 1998/06/07 17:10:46 dfr Exp $ + * $Id: mcd.c,v 1.99 1998/07/04 22:30:17 julian Exp $ */ static const char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore"; @@ -415,7 +415,7 @@ mcdstrategy(struct buf *bp) bp,unit,bp->b_blkno,bp->b_bcount);*/ if (unit >= NMCD || bp->b_blkno < 0) { printf("mcdstrategy: unit = %d, blkno = %ld, bcount = %ld\n", - unit, bp->b_blkno, bp->b_bcount); + unit, (long)bp->b_blkno, bp->b_bcount); printf("mcd: mcdstratregy failure"); bp->b_error = EINVAL; bp->b_flags |= B_ERROR; @@ -529,7 +529,7 @@ int mcdioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p) if (mcd_getstat(unit, 1) == -1) /* detect disk change too */ return EIO; -MCD_TRACE("ioctl called 0x%x\n", cmd); +MCD_TRACE("ioctl called 0x%lx\n", cmd); switch (cmd) { case CDIOCSETPATCH: |