fix compilation error on tip

This commit is contained in:
Chris Lu 2018-06-28 23:37:59 -07:00
parent 9dfc97a8ea
commit 044de8e6a0

View file

@ -42,7 +42,7 @@ func (s *SuperBlock) Bytes() []byte {
func (v *Volume) maybeWriteSuperBlock() error { func (v *Volume) maybeWriteSuperBlock() error {
stat, e := v.dataFile.Stat() stat, e := v.dataFile.Stat()
if e != nil { if e != nil {
glog.V(0).Infof("failed to stat datafile %s: %v", v.dataFile, e) glog.V(0).Infof("failed to stat datafile %s: %v", v.dataFile.Name(), e)
return e return e
} }
if stat.Size() == 0 { if stat.Size() == 0 {