Browse Source

main: log hex of id

Blake Mizerany 11 years ago
parent
commit
cf91035a36
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.go

+ 1 - 1
main.go

@@ -35,7 +35,7 @@ func main() {
 	}
 
 	if peers.Pick(id) == "" {
-		log.Fatalf("%d=<addr> must be specified in peers", id)
+		log.Fatalf("%#x=<addr> must be specified in peers", id)
 	}
 
 	n := raft.Start(id, peers.Ids(), 10, 1)