diff options
Diffstat (limited to 'sys/arch/sgi')
-rw-r--r-- | sys/arch/sgi/sgi/disksubr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sgi/sgi/disksubr.c b/sys/arch/sgi/sgi/disksubr.c index d0571d2176b..8d98bca0506 100644 --- a/sys/arch/sgi/sgi/disksubr.c +++ b/sys/arch/sgi/sgi/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.17 2009/08/13 15:23:11 deraadt Exp $ */ +/* $OpenBSD: disksubr.c,v 1.18 2009/10/09 04:25:34 deraadt Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -113,8 +113,8 @@ readsgilabel(struct buf *bp, void (*strat)(struct buf *), { struct sgilabel *dlp; int i, *p, cs = 0; - int fsoffs = 0; - u_int fsend; + u_int64_t fsoffs = 0; + u_int64_t fsend = DL_GETBEND(lp); int offset; bp->b_blkno = 0; |