diff options
author | bde <bde@FreeBSD.org> | 1994-10-25 17:33:25 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1994-10-25 17:33:25 +0000 |
commit | e98634582e466672ac3a948bc014f1bb2534b2a3 (patch) | |
tree | c80f0f2fcd0f053a13fa949c37ae2514bde0eb8c | |
parent | c5d2a2e07151795a94f78902333a2fc1c84c6da7 (diff) | |
download | FreeBSD-src-e98634582e466672ac3a948bc014f1bb2534b2a3.zip FreeBSD-src-e98634582e466672ac3a948bc014f1bb2534b2a3.tar.gz |
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.
-rw-r--r-- | usr.sbin/bad144/bad144.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bad144/bad144.c b/usr.sbin/bad144/bad144.c index 0afa9e4..e3fb437 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(); |