summaryrefslogtreecommitdiff
path: root/sys/scsi/st.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2013-11-01 17:36:20 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2013-11-01 17:36:20 +0000
commitb8183a0dbd4877f3cb0a20e0e6125c02674f08d2 (patch)
treed8807435b56011aa01dbd9ae817d091c18d254de /sys/scsi/st.c
parent0b88d158f37a4188b2c37633639614eba0110aa5 (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/st.c')
-rw-r--r--sys/scsi/st.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/st.c b/sys/scsi/st.c
index a9cea73c86c..cdf862cf270 100644
--- a/sys/scsi/st.c
+++ b/sys/scsi/st.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: st.c,v 1.125 2013/10/03 14:07:42 krw Exp $ */
+/* $OpenBSD: st.c,v 1.126 2013/11/01 17:36:19 krw Exp $ */
/* $NetBSD: st.c,v 1.71 1997/02/21 23:03:49 thorpej Exp $ */
/*
@@ -842,7 +842,7 @@ ststrategy(struct buf *bp)
sc_link = st->sc_link;
SC_DEBUG(sc_link, SDEV_DB2, ("ststrategy: %ld bytes @ blk %lld\n",
- bp->b_bcount, bp->b_blkno));
+ bp->b_bcount, (long long)bp->b_blkno));
/*
* If it's a null transfer, return immediately.