summaryrefslogtreecommitdiff
path: root/internal/nametransform
diff options
context:
space:
mode:
authorYuta Hayashibe2022-05-04 18:06:20 +0900
committerrfjakob2022-06-26 10:59:06 +0200
commite9ecff7f07aeb1efe0edec7b4b050ce3c0ef75f8 (patch)
tree94d0da7da7c22b65ccfa5cc99cb7e9d5e6322d07 /internal/nametransform
parentc9e4e4f74150d2734496e90a4c442a17b79f52c1 (diff)
Fix typos
Diffstat (limited to 'internal/nametransform')
-rw-r--r--internal/nametransform/badname.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/nametransform/badname.go b/internal/nametransform/badname.go
index 6e77561..28bc028 100644
--- a/internal/nametransform/badname.go
+++ b/internal/nametransform/badname.go
@@ -34,7 +34,7 @@ func (be *NameTransform) EncryptAndHashBadName(name string, iv []byte, dirfd int
//file found, return result
return lastFoundName, nil
}
- //BadName Mode: check if the name was tranformed without change (badname suffix and undecryptable cipher name)
+ //BadName Mode: check if the name was transformed without change (badname suffix and undecryptable cipher name)
err = syscallcompat.Fstatat(dirfd, name[:len(name)-len(BadnameSuffix)], &st, unix.AT_SYMLINK_NOFOLLOW)
if err == nil {
filesFound++