diff options
Diffstat (limited to 'pathfs_frontend')
-rw-r--r-- | pathfs_frontend/file.go | 4 |
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 |