Browse Source

fix printf

Blake Mizerany 11 years ago
parent
commit
c87f1d3924
1 changed files with 1 additions and 1 deletions
  1. 1 1
      etcdserver2/etcdhttp/http.go

+ 1 - 1
etcdserver2/etcdhttp/http.go

@@ -52,7 +52,7 @@ func Sender(p Peers) func(msgs []raftpb.Message) {
 
 				url += "/raft"
 
-				log.Println("etcdserver: sending to %d@%s", m.To, url)
+				log.Printf("etcdserver: sending to %d@%s", m.To, url)
 
 				// TODO: don't block. we should be able to have 1000s
 				// of messages out at a time.