aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2020-08-22 14:24:17 +0000
committerMark Johnston <markj@FreeBSD.org>2020-08-22 14:24:17 +0000
commitc612709bceafbca5bef07bd50a004aa55c1886ee (patch)
treef29deb91e1541219fcb683ef49c00f0480d80606 /cddl/contrib
parentc37f312d3b9950eb66602e669c548a0bfabd4b7d (diff)
downloadsrc-c612709bceafbca5bef07bd50a004aa55c1886ee.tar.gz
src-c612709bceafbca5bef07bd50a004aa55c1886ee.zip
Fix a typo in r364438 affecting 32-bit platforms.
Reported by: antoine MFC with: r364438
Notes
Notes: svn path=/head/; revision=364483
Diffstat (limited to 'cddl/contrib')
-rw-r--r--cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c
index e1fa80d494c6..05f2785e6600 100644
--- a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c
+++ b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c
@@ -1583,14 +1583,14 @@ process_obj(dtrace_hdl_t *dtp, const char *obj, int *eprobesp)
* preserved in order to support incremental rebuilds.
*/
if (shdr_rel.sh_type == SHT_RELA) {
- rela.r_info =
- GELF_R_INFO(GELF_R_SYM(rela.r_info), 0);
+ rela.r_info = GELF_R_INFO(
+ GELF_R_SYM(rela.r_info), DT_REL_NONE);
(void) gelf_update_rela(data_rel, i, &rela);
} else {
GElf_Rel rel;
rel.r_offset = rela.r_offset;
- rela.r_info =
- GELF_R_INFO(GELF_R_SYM(rela.r_info), 0);
+ rel.r_info = GELF_R_INFO(
+ GELF_R_SYM(rela.r_info), DT_REL_NONE);
(void) gelf_update_rel(data_rel, i, &rel);
}