aboutsummaryrefslogtreecommitdiff
path: root/cmd/fscrypt/errors.go
diff options
context:
space:
mode:
authorJoseph Richey <joerichey@google.com>2022-04-09 01:44:51 -0700
committerGitHub <noreply@github.com>2022-04-09 01:44:51 -0700
commit53dc5f37339f40e78cd0e91b358322cc9e589185 (patch)
tree68eb53440456ff6cc9c6ecef8b0567510de5310a /cmd/fscrypt/errors.go
parentce8a5583c1cc2327cf65a048cfd1083225dad50e (diff)
parentba0a96b04b08f8c8b533d7dab7e6326c5ecd6ace (diff)
Merge pull request #354 from google/staticcheck-fix
Upgrade dependencies to latest version
Diffstat (limited to 'cmd/fscrypt/errors.go')
-rw-r--r--cmd/fscrypt/errors.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/fscrypt/errors.go b/cmd/fscrypt/errors.go
index 2d76792..1e9c39a 100644
--- a/cmd/fscrypt/errors.go
+++ b/cmd/fscrypt/errors.go
@@ -71,8 +71,8 @@ type ErrDirFilesOpen struct {
}
func (err *ErrDirFilesOpen) Error() string {
- return fmt.Sprintf(`Directory was incompletely locked because some files
- are still open. These files remain accessible.`)
+ return `Directory was incompletely locked because some files are still
+ open. These files remain accessible.`
}
// ErrDirUnlockedByOtherUsers indicates that a directory can't be locked because