mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix log error
This commit is contained in:
parent
49f4216280
commit
233a9a9b6c
|
@ -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…
Reference in a new issue