diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2003-08-25 23:28:35 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2003-08-25 23:28:35 +0000 |
commit | ea03fe96dd2a572acb0e879c2586bba89034c050 (patch) | |
tree | 2c36d333406df4e19950882dcc7436b2c9831d32 /sys/arch/i386/stand | |
parent | d5eab1b5294489e6eb637cefae0a4efb77c56d22 (diff) |
rename struct dinode to ufs1_dinode. clears the namespace and makes
way for some future work. no function changes yet.
help testing otto@ and markus@
Diffstat (limited to 'sys/arch/i386/stand')
-rw-r--r-- | sys/arch/i386/stand/installboot/installboot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/stand/installboot/installboot.c b/sys/arch/i386/stand/installboot/installboot.c index 2ea0d8ec856..fa9b0e1f069 100644 --- a/sys/arch/i386/stand/installboot/installboot.c +++ b/sys/arch/i386/stand/installboot/installboot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: installboot.c,v 1.40 2003/08/15 21:17:27 deraadt Exp $ */ +/* $OpenBSD: installboot.c,v 1.41 2003/08/25 23:27:43 tedu Exp $ */ /* $NetBSD: installboot.c,v 1.5 1995/11/17 23:23:50 gwr Exp $ */ /* @@ -378,7 +378,7 @@ loadblocknums(char *boot, int devfd, struct disklabel *dl) struct fs *fs; char *buf; daddr_t blk, *ap; - struct dinode *ip; + struct ufs1_dinode *ip; int ndb; u_int8_t *bt; int mib[4]; @@ -454,7 +454,7 @@ loadblocknums(char *boot, int devfd, struct disklabel *dl) blk = fsbtodb(fs, ino_to_fsba(fs, statbuf.st_ino)); devread(devfd, buf, pl->p_offset + 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. |