summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/resource.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/resource.c b/lib/resource.c
index 1b91507..9e62681 100644
--- a/lib/resource.c
+++ b/lib/resource.c
@@ -165,8 +165,8 @@ rdump(void *res)
char x[16];
resource *r = res;
- bsprintf(x, "%%%ds%%08x ", indent);
- debug(x, "", (int) r);
+ bsprintf(x, "%%%ds%%p ", indent);
+ debug(x, "", r);
if (r)
{
debug("%s ", r->class->name);