aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-06-28 23:37:59 -0700
committerChris Lu <chris.lu@gmail.com>2018-06-28 23:37:59 -0700
commit044de8e6a0ca745a95c436de7dbff2bc43a29d3b (patch)
tree652a71bbb2bb55d77285086ec8b3cfcf3e3d85e6
parent9dfc97a8ea3f4df32eb6bd2d8b4541d1b018d6a4 (diff)
downloadseaweedfs-044de8e6a0ca745a95c436de7dbff2bc43a29d3b.tar.xz
seaweedfs-044de8e6a0ca745a95c436de7dbff2bc43a29d3b.zip
fix compilation error on tip
-rw-r--r--weed/storage/volume_super_block.go2
1 files changed, 1 insertions, 1 deletions
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 {