syscall: Remove obsolete Errstr call from commented-out example.

syscall_windows.go contains a small demo, which calls the obsolete
syscall.Errstr function.

R=golang-dev, alex.brainman
CC=golang-dev
https://golang.org/cl/5475044
This commit is contained in:
Benny Siegert 2011-12-09 10:42:34 +11:00 committed by Alex Brainman
parent 94b0342f17
commit 5d045fb0f1
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@ import (
"syscall"
)
func abort(funcname string, err int) {
panic(funcname + " failed: " + syscall.Errstr(err))
func abort(funcname string, err error) {
panic(funcname + " failed: " + err.Error())
}
func print_version(v uint32) {