summaryrefslogtreecommitdiffhomepage
path: root/pkg/refs_vfs2/refs_template.go
diff options
context:
space:
mode:
authorDean Deng <deandeng@google.com>2020-08-12 18:09:34 -0700
committergVisor bot <gvisor-bot@google.com>2020-08-12 18:11:41 -0700
commit36134667b289a3e96e90abf9e18e1c2137069d6b (patch)
tree6f42a4b7c468b535badcd35ee42b368e89ab590a /pkg/refs_vfs2/refs_template.go
parent42b610d56750b4bb8e3d69b680e4fb538f8fb554 (diff)
Add reference leak checking to vfs2 tmpfs.inode.
Updates #1486. PiperOrigin-RevId: 326354750
Diffstat (limited to 'pkg/refs_vfs2/refs_template.go')
-rw-r--r--pkg/refs_vfs2/refs_template.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/refs_vfs2/refs_template.go b/pkg/refs_vfs2/refs_template.go
index 3e5b458c7..99c43c065 100644
--- a/pkg/refs_vfs2/refs_template.go
+++ b/pkg/refs_vfs2/refs_template.go
@@ -59,7 +59,7 @@ func (r *Refs) finalize() {
note = "(Leak checker uninitialized): "
}
if n := r.ReadRefs(); n != 0 {
- log.Warningf("%sAtomicRefCount %p owned by %T garbage collected with ref count of %d (want 0)", note, r, ownerType, n)
+ log.Warningf("%sRefs %p owned by %T garbage collected with ref count of %d (want 0)", note, r, ownerType, n)
}
}