From 044de8e6a0ca745a95c436de7dbff2bc43a29d3b Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 28 Jun 2018 23:37:59 -0700 Subject: [PATCH] fix compilation error on tip --- weed/storage/volume_super_block.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/storage/volume_super_block.go b/weed/storage/volume_super_block.go index fc773273d..d6350ba0b 100644 --- a/weed/storage/volume_super_block.go +++ b/weed/storage/volume_super_block.go @@ -42,7 +42,7 @@ func (s *SuperBlock) Bytes() []byte { func (v *Volume) maybeWriteSuperBlock() error { stat, e := v.dataFile.Stat() 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 } if stat.Size() == 0 {