diff options
author | Mark Johnston <markj@FreeBSD.org> | 2017-07-15 20:53:08 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2017-07-15 20:53:08 +0000 |
commit | ab384d75dbb4d829a8b6cb85d88e2e7d172e2094 (patch) | |
tree | 5482d74f53d1df05b157d9daaebc6d39e5a002be /sbin/savecore | |
parent | d32ed2c7354ce388a443056699e7986455a87103 (diff) | |
download | src-ab384d75dbb4d829a8b6cb85d88e2e7d172e2094.tar.gz src-ab384d75dbb4d829a8b6cb85d88e2e7d172e2094.zip |
Revert r320918 and have mkdumpheader() handle version string truncation.
Reported by: jhb
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=321035
Diffstat (limited to 'sbin/savecore')
-rw-r--r-- | sbin/savecore/savecore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c index 22b4793f4ff5..f5862782bb21 100644 --- a/sbin/savecore/savecore.c +++ b/sbin/savecore/savecore.c @@ -119,7 +119,7 @@ printheader(xo_handle_t *xo, const struct kerneldumpheader *h, const char *devic xo_emit_h(xo, "{P: }{Lwc:Dumptime}{:dumptime/%s}", ctime(&t)); xo_emit_h(xo, "{P: }{Lwc:Hostname}{:hostname/%s}\n", h->hostname); xo_emit_h(xo, "{P: }{Lwc:Magic}{:magic/%s}\n", h->magic); - xo_emit_h(xo, "{P: }{Lwc:Version String}{:version_string/%s}\n", h->versionstring); + xo_emit_h(xo, "{P: }{Lwc:Version String}{:version_string/%s}", h->versionstring); xo_emit_h(xo, "{P: }{Lwc:Panic String}{:panic_string/%s}\n", h->panicstring); xo_emit_h(xo, "{P: }{Lwc:Dump Parity}{:dump_parity/%u}\n", h->parity); xo_emit_h(xo, "{P: }{Lwc:Bounds}{:bounds/%d}\n", bounds); |