Просмотр исходного кода

proto: s/Printf/Print/ where there's no format verb

Ross Light 9 лет назад
Родитель
Сommit
5386fff85b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      proto/text.go

+ 1 - 1
proto/text.go

@@ -154,7 +154,7 @@ func (w *textWriter) indent() { w.ind++ }
 
 
 func (w *textWriter) unindent() {
 func (w *textWriter) unindent() {
 	if w.ind == 0 {
 	if w.ind == 0 {
-		log.Printf("proto: textWriter unindented too far")
+		log.Print("proto: textWriter unindented too far")
 		return
 		return
 	}
 	}
 	w.ind--
 	w.ind--