瀏覽代碼

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

Ross Light 9 年之前
父節點
當前提交
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() {
 	if w.ind == 0 {
-		log.Printf("proto: textWriter unindented too far")
+		log.Print("proto: textWriter unindented too far")
 		return
 	}
 	w.ind--