Date: Mon, 25 Nov 2019 00:34:59 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r355073 - stable/12/cddl/contrib/opensolaris/cmd/dtrace Message-ID: <201911250034.xAP0YxDV080956@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Mon Nov 25 00:34:59 2019 New Revision: 355073 URL: https://svnweb.freebsd.org/changeset/base/355073 Log: MFC r354822: Fix inconsistencies in anonymous DOF files. Modified: stable/12/cddl/contrib/opensolaris/cmd/dtrace/dtrace.c Directory Properties: stable/12/ (props changed) Modified: stable/12/cddl/contrib/opensolaris/cmd/dtrace/dtrace.c ============================================================================== --- stable/12/cddl/contrib/opensolaris/cmd/dtrace/dtrace.c Mon Nov 25 00:33:56 2019 (r355072) +++ stable/12/cddl/contrib/opensolaris/cmd/dtrace/dtrace.c Mon Nov 25 00:34:59 2019 (r355073) @@ -681,7 +681,7 @@ anon_prog(const dtrace_cmd_t *dcp, dof_hdr_t *dof, int dfatal("failed to create DOF image for '%s'", dcp->dc_name); p = (uchar_t *)dof; - q = p + dof->dofh_loadsz; + q = p + dof->dofh_filesz; #ifdef __FreeBSD__ /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911250034.xAP0YxDV080956>