summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2002-05-05 13:47:21 +0000
committermux <mux@FreeBSD.org>2002-05-05 13:47:21 +0000
commit9d3f610b1d2709df37901e7fdd40560fee26a168 (patch)
tree9dc5db8651fafc60d478df552f2c66a24abb0983 /sys
parent2df68022c5bb591d06f7b8d3cdcf63f0917c7cbf (diff)
downloadFreeBSD-src-9d3f610b1d2709df37901e7fdd40560fee26a168.zip
FreeBSD-src-9d3f610b1d2709df37901e7fdd40560fee26a168.tar.gz
Add a KERNELDUMPMAGIC_CLEARED macro to unbreak savecore. Since
it is a "magic" value, what it expands to is not really important. I set it to "Cleared Kernel Dump", but that can be changed later if someone thinks it's not good enough. Pointy hat to: fenner
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/kerneldump.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/kerneldump.h b/sys/sys/kerneldump.h
index b6c4caf..3a4e17b 100644
--- a/sys/sys/kerneldump.h
+++ b/sys/sys/kerneldump.h
@@ -60,6 +60,7 @@
struct kerneldumpheader {
char magic[20];
#define KERNELDUMPMAGIC "FreeBSD Kernel Dump"
+#define KERNELDUMPMAGIC_CLEARED "Cleared Kernel Dump"
char architecture[12];
uint32_t version;
#define KERNELDUMPVERSION 1
OpenPOWER on IntegriCloud