diff options
| author | Chris Lu <chris.lu@gmail.com> | 2018-06-28 23:37:59 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2018-06-28 23:37:59 -0700 |
| commit | 044de8e6a0ca745a95c436de7dbff2bc43a29d3b (patch) | |
| tree | 652a71bbb2bb55d77285086ec8b3cfcf3e3d85e6 | |
| parent | 9dfc97a8ea3f4df32eb6bd2d8b4541d1b018d6a4 (diff) | |
| download | seaweedfs-044de8e6a0ca745a95c436de7dbff2bc43a29d3b.tar.xz seaweedfs-044de8e6a0ca745a95c436de7dbff2bc43a29d3b.zip | |
fix compilation error on tip
| -rw-r--r-- | weed/storage/volume_super_block.go | 2 |
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 { |
