summaryrefslogtreecommitdiff
path: root/sys/lib/libsa
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2020-12-09 18:10:20 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2020-12-09 18:10:20 +0000
commit2c69eccf178c312e1ccd9453b817ec50b2e101c0 (patch)
treedc6b333096faa1fcba7d5ef63d9d33d095f67d8b /sys/lib/libsa
parentcedf0eda4ed3b14795b28e16b111d54f45fe7f51 (diff)
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/libsa')
-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);