summaryrefslogtreecommitdiff
path: root/cryptfs/log.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-10-04 00:26:20 +0200
committerJakob Unterwurzacher2015-10-04 00:26:20 +0200
commit40448db90971b42d9e5e7b7b7918f36283575759 (patch)
tree68d9963ad93a92156624454663b00dc8abf24334 /cryptfs/log.go
parent0802175328821ff2d342d70a88cb9ff3d5d88963 (diff)
Fix xfstests generic/030 failure
The actual fix is oldSize := f.cfs.PlainSize(uint64(fi.Size())) the rest is logging improvements
Diffstat (limited to 'cryptfs/log.go')
-rw-r--r--cryptfs/log.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptfs/log.go b/cryptfs/log.go
index 850ec9e..0884473 100644
--- a/cryptfs/log.go
+++ b/cryptfs/log.go
@@ -34,7 +34,7 @@ func (l *logChannel) Enable() {
// CPU cycles
func (l *logChannel) Md5sum(buf []byte) string {
if l.enabled == false {
- return ""
+ return "disabled"
}
return md5sum(buf)
}