1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-07-03 15:46:44 +02:00

fix log error

This commit is contained in:
Chris Lu 2018-06-24 16:12:41 -07:00
parent 49f4216280
commit 233a9a9b6c

View file

@ -57,7 +57,7 @@ func (s *SuperBlock) Bytes() []byte {
extraSize := len(extraData)
if extraSize > 256*256-2 {
// reserve a couple of bits for future extension
glog.Fatalf("super block extra size is %d bigger than %d: %v", extraSize, 256*256-2)
glog.Fatalf("super block extra size is %d bigger than %d", extraSize, 256*256-2)
}
s.extraSize = uint16(extraSize)
util.Uint16toBytes(header[6:8], s.extraSize)