diff --git a/linker/linker.cpp b/linker/linker.cpp index f18443c98..db0c9f1e5 100755 --- a/linker/linker.cpp +++ b/linker/linker.cpp @@ -1487,7 +1487,7 @@ static bool soinfo_link_image(soinfo* si) { break; default: - DEBUG("Unused DT entry: type 0x%08x arg 0x%08x\n", d[-1], d[0]); + DEBUG("Unused DT entry: type 0x%08x arg 0x%08x\n", d->d_tag, d->d_un.d_val); break; #endif }