Commit 784af03f authored by Adam Wujek's avatar Adam Wujek

tools/wrpc-dump: fix printout of map address

%p prints "0x" already
Signed-off-by: 's avatarAdam Wujek <adam.wujek@creotech.pl>
parent a52ebf5e
......@@ -423,7 +423,7 @@ int main(int argc, char **argv)
argv[0], argv[1], strerror(errno));
exit(1);
}
printf("map at 0x%p size 0x%zx\n", mapaddr, st.st_size);
printf("map at %p size 0x%zx\n", mapaddr, st.st_size);
/* In case we have a "new" binary file, use such information */
if (!strncmp(mapaddr + WRPC_MARK, "CPRW", 4))
setenv("WRPC_SPEC", "yes", 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment