socsvn commit: r289922 - soc2013/def/crashdump-head/sys/sparc64/sparc64
def at FreeBSD.org
def at FreeBSD.org
Wed Aug 19 14:29:18 UTC 2015
Author: def
Date: Wed Aug 19 14:29:16 2015
New Revision: 289922
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=289922
Log:
Move current offset after writing the second kernel dump header.
Modified:
soc2013/def/crashdump-head/sys/sparc64/sparc64/dump_machdep.c
Modified: soc2013/def/crashdump-head/sys/sparc64/sparc64/dump_machdep.c
==============================================================================
--- soc2013/def/crashdump-head/sys/sparc64/sparc64/dump_machdep.c Wed Aug 19 13:23:07 2015 (r289921)
+++ soc2013/def/crashdump-head/sys/sparc64/sparc64/dump_machdep.c Wed Aug 19 14:29:16 2015 (r289922)
@@ -162,6 +162,7 @@
error = dump_write_header(di, &kdh, 0, dumplo);
if (error)
goto fail;
+ dumplo += sizeof(kdh);
/* Signal completion, signoff and exit stage left. */
dump_write(di, NULL, 0, 0, 0);
More information about the svn-soc-all
mailing list