all: Various debug logging improvements

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4529
This commit is contained in:
Simon Frei
2017-11-22 08:05:27 +00:00
committed by Jakob Borg
parent 6daa766fde
commit ce29d3a574
5 changed files with 8 additions and 7 deletions

View File

@@ -36,7 +36,7 @@ func (l VersionList) String() string {
b.WriteString(", ")
}
copy(id[:], v.Device)
fmt.Fprintf(&b, "{%d, %v}", v.Version, id)
fmt.Fprintf(&b, "{%v, %v}", v.Version, id)
}
b.WriteString("}")
return b.String()