summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/fsck_msdos/boot.c4
-rw-r--r--sys/msdosfs/bootsect.h4
-rw-r--r--sys/msdosfs/msdosfs_vfsops.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sbin/fsck_msdos/boot.c b/sbin/fsck_msdos/boot.c
index 16b84805b41..fb70420617b 100644
--- a/sbin/fsck_msdos/boot.c
+++ b/sbin/fsck_msdos/boot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: boot.c,v 1.23 2015/01/16 06:39:58 deraadt Exp $ */
+/* $OpenBSD: boot.c,v 1.24 2016/10/10 00:34:50 bluhm Exp $ */
/* $NetBSD: boot.c,v 1.5 1997/10/17 11:19:23 ws Exp $ */
/*
@@ -218,7 +218,7 @@ readboot(int dosfs, struct bootblock *boot)
* the two-byte signature at the end, the BIOS parameter
* block (which starts after the 3-byte JMP and the 8-byte
* OEM name/version) and the filesystem information that
- * follows the BPB (bsPBP[53] and bsExt[26] for FAT32, so we
+ * follows the BPB (bsBPB[53] and bsExt[26] for FAT32, so we
* check 79 bytes).
*/
if (backup[510] != 0x55 || backup[511] != 0xaa) {
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;