summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2013-10-14 23:26:24 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2013-10-14 23:26:24 +0000
commite4fda8b349b0a8d68da083652a946c5d50020ac6 (patch)
treecc9fde8510275e03eb5c9089c8990a4dc9086588 /sys/arch/hp300
parentf30aac5cc0dc877321988e1871b7742b03bb0f68 (diff)
XXsize() returns daddr_t, so calculate the return value in a daddr_t
variable and not (usually) an int. ok miod@
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r--sys/arch/hp300/dev/hd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hp300/dev/hd.c b/sys/arch/hp300/dev/hd.c
index 1cf333d3f21..36a40b58056 100644
--- a/sys/arch/hp300/dev/hd.c
+++ b/sys/arch/hp300/dev/hd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hd.c,v 1.71 2013/06/28 18:17:12 miod Exp $ */
+/* $OpenBSD: hd.c,v 1.72 2013/10/14 23:26:22 krw Exp $ */
/* $NetBSD: rd.c,v 1.33 1997/07/10 18:14:08 kleink Exp $ */
/*
@@ -1171,7 +1171,7 @@ hdsize(dev)
struct hd_softc *rs;
int unit = DISKUNIT(dev);
int part, omask;
- int size;
+ daddr_t size;
rs = hdlookup(unit);
if (rs == NULL)