aboutsummaryrefslogtreecommitdiff
path: root/pathfs_frontend
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-12-08 13:51:06 +0100
committerJakob Unterwurzacher2015-12-08 13:51:06 +0100
commitff8c81f95b311eb1cd9c822202519f1a90a8cdd4 (patch)
tree6ef1a8ea84e92a291243522d78f30d3e8558256f /pathfs_frontend
parentf4ae0304aff2f721ebe6088aa4f4c83f872f1ee9 (diff)
go fmt
Diffstat (limited to 'pathfs_frontend')
-rw-r--r--pathfs_frontend/file.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pathfs_frontend/file.go b/pathfs_frontend/file.go
index 16d83c1..f2350cc 100644
--- a/pathfs_frontend/file.go
+++ b/pathfs_frontend/file.go
@@ -99,8 +99,8 @@ func (f *file) createHeader() error {
defer f.fdLock.Unlock()
err := syscall.Fallocate(int(f.fd.Fd()), FALLOC_FL_KEEP_SIZE, 0, cryptfs.HEADER_LEN)
if err != nil {
- cryptfs.Warn.Printf("createHeader: Fallocate failed: %s\n", err.Error())
- return err
+ cryptfs.Warn.Printf("createHeader: Fallocate failed: %s\n", err.Error())
+ return err
}
// Actually write header