summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1996-07-09 02:10:16 +0000
committerjulian <julian@FreeBSD.org>1996-07-09 02:10:16 +0000
commita6648ed792f885a50afad92a5fd50ffe9e0543a3 (patch)
tree206b3028e32bb32a9a4120c02cd12014a853bca9 /sbin
parent6afeabc6cb433ddb8839be05056fb9b2c5985bc9 (diff)
downloadFreeBSD-src-a6648ed792f885a50afad92a5fd50ffe9e0543a3.zip
FreeBSD-src-a6648ed792f885a50afad92a5fd50ffe9e0543a3.tar.gz
oops, make the magic number match that used in the bootblock..
I guess we should have a single place for this??
Diffstat (limited to 'sbin')
-rw-r--r--sbin/i386/nextboot/nextboot.c4
-rw-r--r--sbin/nextboot/nextboot.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sbin/i386/nextboot/nextboot.c b/sbin/i386/nextboot/nextboot.c
index bbf8b79..47d4677 100644
--- a/sbin/i386/nextboot/nextboot.c
+++ b/sbin/i386/nextboot/nextboot.c
@@ -38,8 +38,8 @@ struct mboot mboot;
#define NAMEBLOCK 1 /* 2nd block */
#define BLOCKSIZE 512
-#define ENABLE_MAGIC 0xdeafc0de
-#define DISABLE_MAGIC 0xdeadc0de
+#define ENABLE_MAGIC 0xfadefeed
+#define DISABLE_MAGIC 0xfadefade
static int bflag;
static int eflag;
static int dflag;
diff --git a/sbin/nextboot/nextboot.c b/sbin/nextboot/nextboot.c
index bbf8b79..47d4677 100644
--- a/sbin/nextboot/nextboot.c
+++ b/sbin/nextboot/nextboot.c
@@ -38,8 +38,8 @@ struct mboot mboot;
#define NAMEBLOCK 1 /* 2nd block */
#define BLOCKSIZE 512
-#define ENABLE_MAGIC 0xdeafc0de
-#define DISABLE_MAGIC 0xdeadc0de
+#define ENABLE_MAGIC 0xfadefeed
+#define DISABLE_MAGIC 0xfadefade
static int bflag;
static int eflag;
static int dflag;
OpenPOWER on IntegriCloud