Fix typos

This commit is contained in:
Yang Li
2018-07-07 17:40:47 +08:00
committed by Bjørn Erik Pedersen
parent 0efd374805
commit 3cea2932e1
11 changed files with 19 additions and 19 deletions

View File

@@ -275,8 +275,8 @@ type Page struct {
targetPathDescriptorPrototype *targetPathDescriptor
}
func stackTrace(lenght int) string {
trace := make([]byte, lenght)
func stackTrace(length int) string {
trace := make([]byte, length)
runtime.Stack(trace, true)
return string(trace)
}