From: Russ Cox Date: Mon, 13 Jan 2014 16:39:04 +0000 (-0500) Subject: runtime: remove redundant 0x prefix in error print X-Git-Tag: go1.3beta1~996 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a2edc469a0d4f744c26d3245a6600a02b4ebf426;p=gostls13.git runtime: remove redundant 0x prefix in error print %x already adds the prefix unconditionally R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/51550043 --- diff --git a/src/pkg/runtime/symtab.c b/src/pkg/runtime/symtab.c index dd0015aeec..1ceb76c07c 100644 --- a/src/pkg/runtime/symtab.c +++ b/src/pkg/runtime/symtab.c @@ -38,7 +38,7 @@ runtime·symtabinit(void) // two zero bytes, a byte giving the PC quantum, // and a byte giving the pointer width in bytes. if(*(uint32*)pclntab != 0xfffffffb || pclntab[4] != 0 || pclntab[5] != 0 || pclntab[6] != PCQuantum || pclntab[7] != sizeof(void*)) { - runtime·printf("runtime: function symbol table header: 0x%x 0x%x\n", *(uint32*)pclntab, *(uint32*)(pclntab+4)); + runtime·printf("runtime: function symbol table header: %x %x\n", *(uint32*)pclntab, *(uint32*)(pclntab+4)); runtime·throw("invalid function symbol table\n"); }