diff options
author | Yuta Hayashibe | 2022-05-04 18:06:20 +0900 |
---|---|---|
committer | rfjakob | 2022-06-26 10:59:06 +0200 |
commit | e9ecff7f07aeb1efe0edec7b4b050ce3c0ef75f8 (patch) | |
tree | 94d0da7da7c22b65ccfa5cc99cb7e9d5e6322d07 /internal/nametransform/badname.go | |
parent | c9e4e4f74150d2734496e90a4c442a17b79f52c1 (diff) |
Fix typos
Diffstat (limited to 'internal/nametransform/badname.go')
-rw-r--r-- | internal/nametransform/badname.go | 2 |
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++ |