aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/linux
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-03-23 11:34:03 -0400
committerRuss Cox <rsc@golang.org>2011-03-23 11:34:03 -0400
commitf9fc1ddf75b33f73787024c0cb47b15b5a40c2cb (patch)
treeb5f5d68662ec3e9b792d0e8f39d43f15afbc56da /src/pkg/runtime/linux
parentfba0606220fd57d96c8436044c8e6df677072259 (diff)
downloadgo-f9fc1ddf75b33f73787024c0cb47b15b5a40c2cb.tar.xz
runtime: fix print - no %v in C
R=r CC=golang-dev https://golang.org/cl/4280061
Diffstat (limited to 'src/pkg/runtime/linux')
-rw-r--r--src/pkg/runtime/linux/mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/linux/mem.c b/src/pkg/runtime/linux/mem.c
index 633ad0c62e..d2f6f82046 100644
--- a/src/pkg/runtime/linux/mem.c
+++ b/src/pkg/runtime/linux/mem.c
@@ -59,7 +59,7 @@ runtime·SysMap(void *v, uintptr n)
if(sizeof(void*) == 8) {
p = runtime·mmap(v, n, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_ANON|MAP_PRIVATE, -1, 0);
if(p != v) {
- runtime·printf("runtime: address space conflict: map(%v) = %v\n", v, p);
+ runtime·printf("runtime: address space conflict: map(%p) = %p\n", v, p);
runtime·throw("runtime: address space conflict");
}
return;