From e98634582e466672ac3a948bc014f1bb2534b2a3 Mon Sep 17 00:00:00 2001 From: bde Date: Tue, 25 Oct 1994 17:33:25 +0000 Subject: [PATCH] Define DKBAD_MAGIC the same as in 1.1.5 (as 0x4321 instead of 0). 0 is a poor value for a magic number, and we need to be compatible. --- usr.sbin/bad144/bad144.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/bad144/bad144.c b/usr.sbin/bad144/bad144.c index 0afa9e4694a4..e3fb4376bd1f 100644 --- a/usr.sbin/bad144/bad144.c +++ b/usr.sbin/bad144/bad144.c @@ -74,7 +74,7 @@ int dups; int badfile = -1; /* copy of badsector table to use, -1 if any */ #define MAXSECSIZE 1024 struct dkbad curbad, oldbad; -#define DKBAD_MAGIC 0 +#define DKBAD_MAGIC 0x4321 char label[BBSIZE]; daddr_t size, getold(), badsn();