summaryrefslogtreecommitdiff
path: root/usr/src/cmd
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2019-02-12 17:57:41 +0000
committerJohn Levon <john.levon@joyent.com>2019-05-03 02:15:58 -0700
commit59d77acb140ef81a3e7784b472f41ff409b72114 (patch)
tree9a017953667322768ada9a444ed1f263ab550d14 /usr/src/cmd
parent3eca610387779e26c8c63e26d2ba418b0cd1bf5a (diff)
downloadillumos-joyent-59d77acb140ef81a3e7784b472f41ff409b72114.tar.gz
10822 ctfdump -c should include non-root types
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com> Approved by: Gordon Ross <gwr@nexenta.com>
Diffstat (limited to 'usr/src/cmd')
-rw-r--r--usr/src/cmd/ctfdump/ctfdump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/ctfdump/ctfdump.c b/usr/src/cmd/ctfdump/ctfdump.c
index e241c35b47..ec879fcc06 100644
--- a/usr/src/cmd/ctfdump/ctfdump.c
+++ b/usr/src/cmd/ctfdump/ctfdump.c
@@ -10,7 +10,7 @@
*/
/*
- * Copyright (c) 2018, Joyent, Inc.
+ * Copyright (c) 2019, Joyent, Inc.
*/
/*
@@ -982,7 +982,7 @@ ctfdump_source(void)
strerror(errno));
}
- if (ctf_type_iter(g_fp, B_FALSE, ctfsrc_collect_types_cb,
+ if (ctf_type_iter(g_fp, B_TRUE, ctfsrc_collect_types_cb,
idnames) == CTF_ERR) {
warnx("failed to collect types: %s",
ctf_errmsg(ctf_errno(g_fp)));