summaryrefslogtreecommitdiff
path: root/sbin/fdisk/fdisk.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-30 12:08:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-30 12:08:18 +0000
commit16004483033468bb77accf22057cc919b9075742 (patch)
treec79c2f77eb38f8381669bcd8947e9c9373c6a145 /sbin/fdisk/fdisk.c
parent3c85e9d6feed51ebcf56d14653c9c9524c2653d6 (diff)
signature is 16 bits
Diffstat (limited to 'sbin/fdisk/fdisk.c')
-rw-r--r--sbin/fdisk/fdisk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/fdisk/fdisk.c b/sbin/fdisk/fdisk.c
index 12988d194e5..74b82b7ff77 100644
--- a/sbin/fdisk/fdisk.c
+++ b/sbin/fdisk/fdisk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fdisk.c,v 1.8 1996/09/27 15:36:09 deraadt Exp $ */
+/* $OpenBSD: fdisk.c,v 1.9 1996/09/30 12:08:17 deraadt Exp $ */
/* $NetBSD: fdisk.c,v 1.11 1995/10/04 23:11:19 ghudson Exp $ */
/*
@@ -28,7 +28,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: fdisk.c,v 1.8 1996/09/27 15:36:09 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: fdisk.c,v 1.9 1996/09/30 12:08:17 deraadt Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -68,7 +68,7 @@ struct mboot {
u_int8_t padding[2]; /* force the longs to be long alligned */
u_int8_t bootinst[DOSPARTOFF];
struct dos_partition parts[4];
- u_int32_t signature;
+ u_int16_t signature;
} mboot;
#define ACTIVE 0x80