summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2017-10-16 12:58:57 +0000
committermpi <mpi@openbsd.org>2017-10-16 12:58:57 +0000
commit473df3017922235cd7878b403ecaa261a5c34462 (patch)
treea200b0fe8c07c009e4dab5b3a89725be3e9c84d5
parentSort & update syntax comments to match code. Sort (diff)
downloadwireguard-openbsd-473df3017922235cd7878b403ecaa261a5c34462.tar.xz
wireguard-openbsd-473df3017922235cd7878b403ecaa261a5c34462.zip
Typo in header dump, from sbz@FreeBSD
-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);