summaryrefslogtreecommitdiff
path: root/sys/kern/subr_disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/subr_disk.c')
-rw-r--r--sys/kern/subr_disk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c
index 155f3eb0983..ed23b32b8bd 100644
--- a/sys/kern/subr_disk.c
+++ b/sys/kern/subr_disk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_disk.c,v 1.154 2013/10/14 23:35:53 krw Exp $ */
+/* $OpenBSD: subr_disk.c,v 1.155 2013/10/19 09:32:15 krw Exp $ */
/* $NetBSD: subr_disk.c,v 1.17 1996/03/16 23:17:08 christos Exp $ */
/*
@@ -385,7 +385,7 @@ checkdisklabel(void *rlp, struct disklabel *lp, u_int64_t boundstart,
*/
int
readdoslabel(struct buf *bp, void (*strat)(struct buf *),
- struct disklabel *lp, int *partoffp, int spoofonly)
+ struct disklabel *lp, daddr_t *partoffp, int spoofonly)
{
u_int64_t dospartoff = 0, dospartend = DL_GETBEND(lp);
int i, ourpart = -1, wander = 1, n = 0, loop = 0, offset;