diff --git a/unmaintained/change_superblock/change_superblock.go b/unmaintained/change_superblock/change_superblock.go index d7a80472d..779580a9b 100644 --- a/unmaintained/change_superblock/change_superblock.go +++ b/unmaintained/change_superblock/change_superblock.go @@ -87,7 +87,7 @@ func main() { if hasChange { - header = superBlock.Bytes() + header := superBlock.Bytes() if n, e := datFile.WriteAt(header, 0); n == 0 || e != nil { glog.Fatalf("cannot write super block: %v", e)