Skip to content

Commit ee4766c

Browse files
committed
Fix error during merge
Signed-off-by: Dave Cheney <dave@cheney.net>
1 parent 25793ca commit ee4766c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stack.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func (f Frame) format(w io.Writer, s fmt.State, verb rune) {
4949
if file == "" {
5050
file = "unknown"
5151
}
52-
io.WriteString(s, path.Base(file))
52+
io.WriteString(w, path.Base(file))
5353
}
5454
case 'd':
5555
io.WriteString(w, strconv.Itoa(runtime.Frame(f).Line))

0 commit comments

Comments
 (0)