summaryrefslogtreecommitdiff
path: root/usr.bin/ctfdump
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-10-16 12:58:58 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-10-16 12:58:58 +0000
commitd77d25197a35376db3e76b0b40024cf99a3ca6b9 (patch)
tree3c93601ad6cef3bdf0b1f30b8d32bc2c97bf965d /usr.bin/ctfdump
parent646a655f5dd1d1ce00378a5d3722abd8894a6e99 (diff)
Typo in header dump, from sbz@FreeBSD
Diffstat (limited to 'usr.bin/ctfdump')
-rw-r--r--usr.bin/ctfdump/ctfdump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ctfdump/ctfdump.c b/usr.bin/ctfdump/ctfdump.c
index 4f406334b57..053c81f5a7e 100644
--- a/usr.bin/ctfdump/ctfdump.c
+++ b/usr.bin/ctfdump/ctfdump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ctfdump.c,v 1.10 2017/10/05 03:06:14 jsg Exp $ */
+/* $OpenBSD: ctfdump.c,v 1.11 2017/10/16 12:58:57 mpi Exp $ */
/*
* Copyright (c) 2016 Martin Pieuchot <mpi@openbsd.org>
@@ -299,7 +299,7 @@ ctf_dump(const char *p, size_t size, uint8_t flags)
printf(" cth_version = %d\n", cth->cth_version);
printf(" cth_flags = 0x%02x\n", cth->cth_flags);
printf(" cth_parlabel = %s\n",
- ctf_off2name(cth, data, dlen, cth->cth_parname));
+ ctf_off2name(cth, data, dlen, cth->cth_parlabel));
printf(" cth_parname = %s\n",
ctf_off2name(cth, data, dlen, cth->cth_parname));
printf(" cth_lbloff = %d\n", cth->cth_lbloff);