summaryrefslogtreecommitdiff
path: root/usr/src/cmd/sgs/dump/common/dump.c
diff options
context:
space:
mode:
authorab196087 <none@none>2007-09-19 08:15:57 -0700
committerab196087 <none@none>2007-09-19 08:15:57 -0700
commitd29b2c4438482eb00488be49a1f5d6835f455546 (patch)
tree541f5471fe500cce2429019f17f9f87ddcf80b76 /usr/src/cmd/sgs/dump/common/dump.c
parent90685d2c52744c6540828f16cdd2db815d467e37 (diff)
downloadillumos-joyent-d29b2c4438482eb00488be49a1f5d6835f455546.tar.gz
PSARC 2007/509 elfedit
6234471 need a way to edit ELF objects --HG-- rename : usr/src/cmd/sgs/packages/setup_pkg_ext => deleted_files/usr/src/cmd/sgs/packages/setup_pkg_ext
Diffstat (limited to 'usr/src/cmd/sgs/dump/common/dump.c')
-rw-r--r--usr/src/cmd/sgs/dump/common/dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/sgs/dump/common/dump.c b/usr/src/cmd/sgs/dump/common/dump.c
index 43782456bb..9d995f6f4b 100644
--- a/usr/src/cmd/sgs/dump/common/dump.c
+++ b/usr/src/cmd/sgs/dump/common/dump.c
@@ -56,7 +56,7 @@
* - Unknown items to be printed as integers using decimal formatting
* - The "Dump Style" versions of strings.
*/
-#define DUMP_CONVFMT (CONV_FMT_DECIMAL|CONV_FMT_ALTDUMP)
+#define DUMP_CONVFMT (CONV_FMT_DECIMAL|CONV_FMT_ALT_DUMP)
const char *UNKNOWN = "<unknown>";
@@ -1261,7 +1261,7 @@ dump_dynamic(Elf *elf_file, SCNTAB *p_scns, int num_scns, char *filename)
break;
case DT_FLAGS_1:
str = conv_dyn_flag1(
- p_dyn.d_un.d_val,
+ p_dyn.d_un.d_val, 0,
&conv_buf.dyn_flag1);
break;
}