diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2013-11-01 17:36:20 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2013-11-01 17:36:20 +0000 |
commit | b8183a0dbd4877f3cb0a20e0e6125c02674f08d2 (patch) | |
tree | d8807435b56011aa01dbd9ae817d091c18d254de /sys/scsi/cd.c | |
parent | 0b88d158f37a4188b2c37633639614eba0110aa5 (diff) |
Sprinkle (long long) casts where %lld is being used to print daddr_t
variables. Some random whitespace/knf repairs encountered on the way.
ok miod@ on inspection, feedback & more suggestions from millert@
Diffstat (limited to 'sys/scsi/cd.c')
-rw-r--r-- | sys/scsi/cd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c index 1bbbec7274f..cecb73d9c11 100644 --- a/sys/scsi/cd.c +++ b/sys/scsi/cd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cd.c,v 1.212 2013/10/03 14:07:41 krw Exp $ */ +/* $OpenBSD: cd.c,v 1.213 2013/11/01 17:36:19 krw Exp $ */ /* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */ /* @@ -458,7 +458,7 @@ cdstrategy(struct buf *bp) } SC_DEBUG(sc->sc_link, SDEV_DB2, ("cdstrategy: %ld bytes @ blk %lld\n", - bp->b_bcount, bp->b_blkno)); + bp->b_bcount, (long long)bp->b_blkno)); /* * If the device has been made invalid, error out * maybe the media changed, or no media loaded |