aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/elfdump
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2019-01-31 16:21:09 +0000
committerEd Maste <emaste@FreeBSD.org>2019-01-31 16:21:09 +0000
commit8ae9aa2772f8febf64634f72d78451d324ee25ed (patch)
tree168a7588524c5c6d3315a006f6d4971b861f201b /usr.bin/elfdump
parent2bc7b0242ff04f81fb7b942b0b69b7897fb89935 (diff)
Notes
Diffstat (limited to 'usr.bin/elfdump')
-rw-r--r--usr.bin/elfdump/elfdump.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/elfdump/elfdump.c b/usr.bin/elfdump/elfdump.c
index 46c94c651366f..235376e2910f8 100644
--- a/usr.bin/elfdump/elfdump.c
+++ b/usr.bin/elfdump/elfdump.c
@@ -1066,7 +1066,9 @@ elf_print_note(Elf32_Ehdr *e, void *sh)
u_int32_t namesz;
u_int32_t descsz;
u_int32_t desc;
+ u_int32_t type;
char *n, *s;
+ const char *nt_type;
offset = elf_get_off(e, sh, SH_OFFSET);
size = elf_get_size(e, sh, SH_SIZE);