aboutsummaryrefslogtreecommitdiff
path: root/unmaintained
diff options
context:
space:
mode:
authorbingoohuang <bingoo.huang@gmail.com>2021-02-21 21:05:57 +0800
committerGitHub <noreply@github.com>2021-02-21 21:05:57 +0800
commit0cfbe8f059c9f97f606e7c76f77aa8a8a8c97765 (patch)
tree794843ac2f9a3a930a904e323edf0c08a9883f75 /unmaintained
parent1af6c96cd02c2c6ace9cc3a7995e12bd653ae8fc (diff)
parent258e93bc861756fe92daf5bc09fb0ef2eab4aaf3 (diff)
downloadseaweedfs-0cfbe8f059c9f97f606e7c76f77aa8a8a8c97765.tar.xz
seaweedfs-0cfbe8f059c9f97f606e7c76f77aa8a8a8c97765.zip
Merge pull request #4 from chrislusf/master
Diffstat (limited to 'unmaintained')
-rw-r--r--unmaintained/change_superblock/change_superblock.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/unmaintained/change_superblock/change_superblock.go b/unmaintained/change_superblock/change_superblock.go
index afe651c4e..56342a0cb 100644
--- a/unmaintained/change_superblock/change_superblock.go
+++ b/unmaintained/change_superblock/change_superblock.go
@@ -92,7 +92,7 @@ func main() {
header := superBlock.Bytes()
- if n, e := datFile.WriteAt(header, 0); n == 0 || e != nil {
+ if n, e := datBackend.WriteAt(header, 0); n == 0 || e != nil {
glog.Fatalf("cannot write super block: %v", e)
}