summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid_raid0.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-06-11 16:42:02 +0000
committerderaadt <deraadt@openbsd.org>2013-06-11 16:42:02 +0000
commit1abdbfde5173507cdbd2578554582107ac062818 (patch)
tree076b5f6a59182468ec7241b0085f404a71818328 /sys/dev/softraid_raid0.c
parentCreate a small MSDOS partition from where u-boot will load the (diff)
downloadwireguard-openbsd-1abdbfde5173507cdbd2578554582107ac062818.tar.xz
wireguard-openbsd-1abdbfde5173507cdbd2578554582107ac062818.zip
final removal of daddr64_t. daddr_t has been 64 bit for a long enough
test period; i think 3 years ago the last bugs fell out. ok otto beck others
Diffstat (limited to 'sys/dev/softraid_raid0.c')
-rw-r--r--sys/dev/softraid_raid0.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/softraid_raid0.c b/sys/dev/softraid_raid0.c
index 90cce39bf1c..045202c9c77 100644
--- a/sys/dev/softraid_raid0.c
+++ b/sys/dev/softraid_raid0.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid_raid0.c,v 1.40 2013/05/21 15:01:53 jsing Exp $ */
+/* $OpenBSD: softraid_raid0.c,v 1.41 2013/06/11 16:42:13 deraadt Exp $ */
/*
* Copyright (c) 2008 Marco Peereboom <marco@peereboom.us>
*
@@ -120,9 +120,9 @@ sr_raid0_rw(struct sr_workunit *wu)
struct scsi_xfer *xs = wu->swu_xs;
struct sr_ccb *ccb;
struct sr_chunk *scp;
- daddr64_t blk, lbaoffs, strip_no, chunk, stripoffs;
- daddr64_t strip_size, no_chunk, chunkoffs, physoffs;
- daddr64_t strip_bits, length, leftover;
+ daddr_t blk, lbaoffs, strip_no, chunk, stripoffs;
+ daddr_t strip_size, no_chunk, chunkoffs, physoffs;
+ daddr_t strip_bits, length, leftover;
u_int8_t *data;
/* blk and scsi error will be handled by sr_validate_io */