summaryrefslogtreecommitdiffstats
path: root/tests/dwflmodtest.c
diff options
context:
space:
mode:
authorUlrich Drepper <[email protected]>2007-10-16 05:21:27 +0000
committerUlrich Drepper <[email protected]>2007-10-16 05:21:27 +0000
commitb597dfad924980dede10d7c19d87900b6172e599 (patch)
tree3c090b69070ad0056d479d90aa1f8829810140ba /tests/dwflmodtest.c
parent3fc3d7bd6bd8485404a936f7354e781dc2be6a5a (diff)
merge of '92c36bfdbc6468d1711c043b530e0dfe5abb6dec'
and 'c22c8c43f8f68b0bffd4d5ccdb2282c958268742'
Diffstat (limited to 'tests/dwflmodtest.c')
-rw-r--r--tests/dwflmodtest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dwflmodtest.c b/tests/dwflmodtest.c
index c34cac42..94f960fa 100644
--- a/tests/dwflmodtest.c
+++ b/tests/dwflmodtest.c
@@ -188,8 +188,8 @@ print_module (Dwfl_Module *mod __attribute__ ((unused)),
Dwarf *dw, Dwarf_Addr bias,
void *arg)
{
- printf ("module: %30s %08" PRIx64 " %12p %" PRIx64 " (%s)\n",
- name, base, dw, bias, dwfl_errmsg (-1));
+ printf ("module: %30s %08" PRIx64 " %s %" PRIx64 " (%s)\n",
+ name, base, dw == NULL ? "no" : "DWARF", bias, dwfl_errmsg (-1));
if (dw != NULL && *(const bool *) arg)
{