summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.c b/error.c
index 48cb00da38..059ccc9030 100644
--- a/error.c
+++ b/error.c
@@ -280,7 +280,7 @@ rb_check_type(x, t)
}
type++;
}
- rb_bug("unknown type 0x%x (0x%x given)", t, TYPE(x));
+ rb_bug("unknown type 0x%x (%p given)", t, TYPE(x));
}
}