From 1573efec98bd96a078afdf5d1584436b07dac165 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 31 Jan 2016 18:30:39 +0100 Subject: Don't print plain text directory name in "Invalid name" warning --- pathfs_frontend/fs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } } -- cgit v1.2.3