Date: Wed, 19 Aug 2015 14:29:17 GMT From: def@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r289922 - soc2013/def/crashdump-head/sys/sparc64/sparc64 Message-ID: <201508191429.t7JETH6h073872@socsvn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508191429.t7JETH6h073872>