Commit 5d045fb0 authored by Benny Siegert's avatar Benny Siegert Committed by Alex Brainman

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
parent 94b0342f
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment