mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-21 02:48:46 +00:00
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.
This commit is contained in:
parent
de708661a9
commit
22ab7c8472
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=3857
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user