diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2008-01-06 11:17:19 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2008-01-06 11:17:19 +0000 |
commit | a3c433c8f6483bd6ca67afa1c12d0b476a867532 (patch) | |
tree | 3dca844deb72facccf16b78ffed7defae61c6f91 | |
parent | 5bf099e2200671657546f43f0331a0672ac37038 (diff) |
repair build of boot code where it uses an undefind __ashldi3 on some archs
boot code uses 32-bit blknos anyway
-rw-r--r-- | sys/lib/libsa/ufs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/libsa/ufs.c b/sys/lib/libsa/ufs.c index afe58451c5c..4579dbb161c 100644 --- a/sys/lib/libsa/ufs.c +++ b/sys/lib/libsa/ufs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ufs.c,v 1.18 2007/03/16 21:48:59 tsi Exp $ */ +/* $OpenBSD: ufs.c,v 1.19 2008/01/06 11:17:18 otto Exp $ */ /* $NetBSD: ufs.c,v 1.16 1996/09/30 16:01:22 ws Exp $ */ /*- @@ -120,7 +120,7 @@ read_inode(ino_t inumber, struct open_file *f) buf = alloc(fs->fs_bsize); twiddle(); rc = (f->f_dev->dv_strategy)(f->f_devdata, F_READ, - fsbtodb(fs, ino_to_fsba(fs, inumber)), fs->fs_bsize, + fsbtodb(fs, (daddr_t)ino_to_fsba(fs, inumber)), fs->fs_bsize, buf, &rsize); if (rc) goto out; |