From eaf000eff1af6542cfdf9421e013f453a9e12c53 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 11 Jun 2018 23:39:42 -0700 Subject: [PATCH] fix error on go 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 {