summaryrefslogtreecommitdiff
path: root/internal/nametransform
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-10-24 19:18:13 +0200
committerJakob Unterwurzacher2016-10-24 19:18:13 +0200
commitaeda9721d0150b9b77d9522bb3b4fcd17f2cbbfa (patch)
tree1cded9f7087c0d6d3d8d29fe9a1c5f0ceb3783bc /internal/nametransform
parentab4de4cbcd235bf1b3466a2a5bfa4d07f0537756 (diff)
Fix misspellings
Close https://github.com/rfjakob/gocryptfs/issues/54
Diffstat (limited to 'internal/nametransform')
-rw-r--r--internal/nametransform/diriv.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/nametransform/diriv.go b/internal/nametransform/diriv.go
index 0cc8dd3..30d4b87 100644
--- a/internal/nametransform/diriv.go
+++ b/internal/nametransform/diriv.go
@@ -49,7 +49,7 @@ func ReadDirIVAt(dirfd *os.File) (iv []byte, err error) {
// fdReadDirIV reads and verifies the DirIV from an opened gocryptfs.diriv file.
func fdReadDirIV(fd *os.File) (iv []byte, err error) {
// We want to detect if the file is bigger than DirIVLen, so
- // make the buffer 1 byte bigger than neccessary.
+ // make the buffer 1 byte bigger than necessary.
iv = make([]byte, DirIVLen+1)
n, err := fd.Read(iv)
if err != nil {