Explorar o código

Fix error during merge

Signed-off-by: Dave Cheney <dave@cheney.net>
Dave Cheney %!s(int64=7) %!d(string=hai) anos
pai
achega
ee4766c291
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      stack.go

+ 1 - 1
stack.go

@@ -49,7 +49,7 @@ func (f Frame) format(w io.Writer, s fmt.State, verb rune) {
 			if file == "" {
 				file = "unknown"
 			}
-			io.WriteString(s, path.Base(file))
+			io.WriteString(w, path.Base(file))
 		}
 	case 'd':
 		io.WriteString(w, strconv.Itoa(runtime.Frame(f).Line))