aboutsummaryrefslogtreecommitdiff
path: root/pathfs_frontend
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-01-31 18:30:39 +0100
committerJakob Unterwurzacher2016-01-31 18:30:39 +0100
commit1573efec98bd96a078afdf5d1584436b07dac165 (patch)
treeec7118e71473aa06cca0303045a4bc1739878dd3 /pathfs_frontend
parent6454db68d97667f90ec1f0f838c7da275c46d2b8 (diff)
Don't print plain text directory name in "Invalid name" warning
Diffstat (limited to 'pathfs_frontend')
-rw-r--r--pathfs_frontend/fs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pathfs_frontend/fs.go b/pathfs_frontend/fs.go
index 2b26f6f..97ad525 100644
--- a/pathfs_frontend/fs.go
+++ b/pathfs_frontend/fs.go
@@ -107,7 +107,7 @@ func (fs *FS) OpenDir(dirName string, context *fuse.Context) ([]fuse.DirEntry, f
if !fs.args.PlaintextNames {
name, err = fs.CryptFS.DecryptName(cName, cachedIV, fs.args.EMENames)
if err != nil {
- cryptfs.Warn.Printf("Invalid name \"%s\" in dir \"%s\": %s", cName, dirName, err)
+ cryptfs.Warn.Printf("Invalid name \"%s\" in dir \"%s\": %s", cName, cDirName, err)
continue
}
}