]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix build on Plan 9
authorDavid du Colombier <0intro@gmail.com>
Thu, 27 Feb 2014 08:22:02 +0000 (09:22 +0100)
committerDavid du Colombier <0intro@gmail.com>
Thu, 27 Feb 2014 08:22:02 +0000 (09:22 +0100)
warning: src/pkg/runtime/mem_plan9.c:72 param declared and not used: n
src/pkg/runtime/mem_plan9.c:73 name not declared: nbytes
src/pkg/runtime/mem_plan9.c:73 bad in naddr: NAME nbytes<>+0(SB)

LGTM=minux.ma, bradfitz
R=khr, minux.ma, bradfitz
CC=golang-codereviews
https://golang.org/cl/69360043

src/pkg/runtime/mem_plan9.c

index ac4819e28f17baebea4de8c2e9fff1ba760038de..709ff69a1c410371f84b6292adfc72fc87559f7c 100644 (file)
@@ -68,7 +68,7 @@ runtime·SysMap(void *v, uintptr nbytes, uint64 *stat)
 }
 
 void
-runtime·SysFault(void *v, uintptr n)
+runtime·SysFault(void *v, uintptr nbytes)
 {
        USED(v, nbytes);
 }