diff options
Diffstat (limited to 'sys/arch/mvme68k')
-rw-r--r-- | sys/arch/mvme68k/stand/installboot/installboot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mvme68k/stand/installboot/installboot.c b/sys/arch/mvme68k/stand/installboot/installboot.c index 16b114994f4..3db8a4edc0e 100644 --- a/sys/arch/mvme68k/stand/installboot/installboot.c +++ b/sys/arch/mvme68k/stand/installboot/installboot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: installboot.c,v 1.9 2003/08/16 17:46:28 deraadt Exp $ */ +/* $OpenBSD: installboot.c,v 1.10 2003/08/25 23:36:46 tedu Exp $ */ /* $NetBSD: installboot.c,v 1.5 1995/11/17 23:23:50 gwr Exp $ */ /* @@ -288,7 +288,7 @@ loadblocknums(char *boot, int devfd) struct fs *fs; char *buf; daddr_t blk, *ap; - struct dinode *ip; + struct ufs1_dinode *ip; int ndb; /* @@ -336,7 +336,7 @@ loadblocknums(char *boot, int devfd) blk = fsbtodb(fs, ino_to_fsba(fs, statbuf.st_ino)); devread(devfd, buf, blk, fs->fs_bsize, "inode"); - ip = (struct dinode *)(buf) + ino_to_fsbo(fs, statbuf.st_ino); + ip = (struct ufs1_dinode *)(buf) + ino_to_fsbo(fs, statbuf.st_ino); /* * Have the inode. Figure out how many blocks we need. |