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/alpha | |
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/alpha')
-rw-r--r-- | sys/arch/alpha/stand/installboot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/alpha/stand/installboot.c b/sys/arch/alpha/stand/installboot.c index b154692528e..a25e8eb4940 100644 --- a/sys/arch/alpha/stand/installboot.c +++ b/sys/arch/alpha/stand/installboot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: installboot.c,v 1.11 2002/03/14 01:26:27 millert Exp $ */ +/* $OpenBSD: installboot.c,v 1.12 2003/08/25 23:27:43 tedu Exp $ */ /* $NetBSD: installboot.c,v 1.2 1997/04/06 08:41:12 cgd Exp $ */ /* @@ -339,7 +339,7 @@ loadblocknums(boot, devfd, partoffset) struct fs *fs; char *buf; daddr_t blk, *ap; - struct dinode *ip; + struct ufs1_dinode *ip; int ndb; int32_t cksum; @@ -401,7 +401,7 @@ loadblocknums(boot, devfd, partoffset) blk = fsbtodb(fs, ino_to_fsba(fs, statbuf.st_ino)); devread(devfd, buf, blk + partoffset, 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); /* * Register filesystem block size. |