summaryrefslogtreecommitdiffstats
path: root/sys/lib
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2020-12-09 18:10:17 +0000
committerkrw <krw@openbsd.org>2020-12-09 18:10:17 +0000
commit3e58d19e89b8645264ea84c2f797d77942ef298e (patch)
tree81199c580891dfe8fc2acd86de1aee352c942a50 /sys/lib
parentDisable A-MSDU support again. (diff)
downloadwireguard-openbsd-3e58d19e89b8645264ea84c2f797d77942ef298e.tar.xz
wireguard-openbsd-3e58d19e89b8645264ea84c2f797d77942ef298e.zip
Use daddr_t and not daddr32_t in boot media.
At a minimum, amd64/i386 should now boot from 4TB GPT formatted disks. More daddr32_t terminations with extreme prejudice to follow. Tested by various, in snaps for a few days. ok deraadt@
Diffstat (limited to 'sys/lib')
-rw-r--r--sys/lib/libsa/stand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/libsa/stand.h b/sys/lib/libsa/stand.h
index dda2b89a622..8419a0ae5af 100644
--- a/sys/lib/libsa/stand.h
+++ b/sys/lib/libsa/stand.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stand.h,v 1.69 2019/11/28 00:17:13 bluhm Exp $ */
+/* $OpenBSD: stand.h,v 1.70 2020/12/09 18:10:19 krw Exp $ */
/* $NetBSD: stand.h,v 1.18 1996/11/30 04:35:51 gwr Exp $ */
/*-
@@ -82,7 +82,7 @@ extern int nfsys;
struct devsw {
char *dv_name;
int (*dv_strategy)(void *devdata, int rw,
- daddr32_t blk, size_t size,
+ daddr_t blk, size_t size,
void *buf, size_t *rsize);
int (*dv_open)(struct open_file *f, ...);
int (*dv_close)(struct open_file *f);