Add missing argument to Printf call.

This commit is contained in:
Julius Volz 2013-04-19 16:29:58 +02:00
parent 6a5d2f68fc
commit ae316415fe
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ func (t target) GlobalAddress() string {
address := t.address
hostname, err := os.Hostname()
if err != nil {
log.Printf("Couldn't get hostname: %s, returning target.Address()")
log.Printf("Couldn't get hostname: %s, returning target.Address()", err)
return address
}
for _, localhostRepresentation := range localhostRepresentations {