summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1995-10-31 20:54:33 +0000
committerpst <pst@FreeBSD.org>1995-10-31 20:54:33 +0000
commit09766cf230427f3234dac73094c8b19c9eb0d8f8 (patch)
treea332c5a444ac91ab535b3aca2636366bb46122a6
parent2ad67f9eec127d5f4990c910829648790db24802 (diff)
downloadFreeBSD-src-09766cf230427f3234dac73094c8b19c9eb0d8f8.zip
FreeBSD-src-09766cf230427f3234dac73094c8b19c9eb0d8f8.tar.gz
Pad out MSDOS boot block to 512 bytes (bugfix only)
Submitted by: Andreas Haakh, ah@alman.RoBIN.de
-rw-r--r--sys/fs/msdosfs/bootsect.h4
-rw-r--r--sys/msdosfs/bootsect.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/fs/msdosfs/bootsect.h b/sys/fs/msdosfs/bootsect.h
index f83b9ec..857dd70 100644
--- a/sys/fs/msdosfs/bootsect.h
+++ b/sys/fs/msdosfs/bootsect.h
@@ -1,4 +1,4 @@
-/* $Id: bootsect.h,v 1.1 1994/09/19 15:41:36 dfr Exp $ */
+/* $Id: bootsect.h,v 1.2 1995/05/30 08:07:29 rgrimes Exp $ */
/* $NetBSD: bootsect.h,v 1.4 1994/06/29 06:35:28 cgd Exp $ */
/*
@@ -27,7 +27,7 @@ struct bootsector33 {
char bsOemName[8]; /* OEM name and version */
char bsBPB[19]; /* BIOS parameter block */
char bsDriveNumber; /* drive number (0x80) */
- char bsBootCode[474]; /* pad so structure is 512 bytes long */
+ char bsBootCode[479]; /* pad so structure is 512 bytes long */
u_short bsBootSectSig;
#define BOOTSIG 0xaa55
};
diff --git a/sys/msdosfs/bootsect.h b/sys/msdosfs/bootsect.h
index f83b9ec..857dd70 100644
--- a/sys/msdosfs/bootsect.h
+++ b/sys/msdosfs/bootsect.h
@@ -1,4 +1,4 @@
-/* $Id: bootsect.h,v 1.1 1994/09/19 15:41:36 dfr Exp $ */
+/* $Id: bootsect.h,v 1.2 1995/05/30 08:07:29 rgrimes Exp $ */
/* $NetBSD: bootsect.h,v 1.4 1994/06/29 06:35:28 cgd Exp $ */
/*
@@ -27,7 +27,7 @@ struct bootsector33 {
char bsOemName[8]; /* OEM name and version */
char bsBPB[19]; /* BIOS parameter block */
char bsDriveNumber; /* drive number (0x80) */
- char bsBootCode[474]; /* pad so structure is 512 bytes long */
+ char bsBootCode[479]; /* pad so structure is 512 bytes long */
u_short bsBootSectSig;
#define BOOTSIG 0xaa55
};
OpenPOWER on IntegriCloud