summaryrefslogtreecommitdiff
path: root/internal/nametransform/badname.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/nametransform/badname.go')
-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++