diff options
Diffstat (limited to 'sys/msdosfs')
-rw-r--r-- | sys/msdosfs/bootsect.h | 4 | ||||
-rw-r--r-- | sys/msdosfs/msdosfs_vfsops.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/msdosfs/bootsect.h b/sys/msdosfs/bootsect.h index f009b356407..88ef89a25a7 100644 --- a/sys/msdosfs/bootsect.h +++ b/sys/msdosfs/bootsect.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bootsect.h,v 1.6 2015/10/23 10:45:31 krw Exp $ */ +/* $OpenBSD: bootsect.h,v 1.7 2016/10/10 00:34:50 bluhm Exp $ */ /* $NetBSD: bootsect.h,v 1.8 1997/10/17 11:23:29 ws Exp $ */ /* @@ -59,7 +59,7 @@ struct bootsector50 { struct bootsector710 { u_int8_t bsJump[3]; /* jump inst E9xxxx or EBxx90 */ int8_t bsOEMName[8]; /* OEM name and version */ - int8_t bsPBP[53]; /* BIOS parameter block */ + int8_t bsBPB[53]; /* BIOS parameter block */ int8_t bsExt[26]; /* Bootsector Extension */ int8_t bsBootCode[418]; /* pad so structure is 512b */ u_int8_t bsBootSectSig2; /* 2 & 3 are only defined for FAT32? */ diff --git a/sys/msdosfs/msdosfs_vfsops.c b/sys/msdosfs/msdosfs_vfsops.c index 023ab7b6653..e13b0b1ea0b 100644 --- a/sys/msdosfs/msdosfs_vfsops.c +++ b/sys/msdosfs/msdosfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: msdosfs_vfsops.c,v 1.82 2016/10/09 23:49:54 bluhm Exp $ */ +/* $OpenBSD: msdosfs_vfsops.c,v 1.83 2016/10/10 00:34:50 bluhm Exp $ */ /* $NetBSD: msdosfs_vfsops.c,v 1.48 1997/10/18 02:54:57 briggs Exp $ */ /*- @@ -299,7 +299,7 @@ msdosfs_mountfs(struct vnode *devvp, struct mount *mp, struct proc *p, bsp = (union bootsector *)bp->b_data; b33 = (struct byte_bpb33 *)bsp->bs33.bsBPB; b50 = (struct byte_bpb50 *)bsp->bs50.bsBPB; - b710 = (struct byte_bpb710 *)bsp->bs710.bsPBP; + b710 = (struct byte_bpb710 *)bsp->bs710.bsBPB; pmp = malloc(sizeof *pmp, M_MSDOSFSMNT, M_WAITOK | M_ZERO); pmp->pm_mountp = mp; |