Browse Source

fix log error

pull/695/head
Chris Lu 7 years ago
parent
commit
233a9a9b6c
  1. 2
      weed/storage/volume_super_block.go

2
weed/storage/volume_super_block.go

@ -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)

Loading…
Cancel
Save