aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/debuglog.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/debuglog.go')
-rw-r--r--src/runtime/debuglog.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/debuglog.go b/src/runtime/debuglog.go
index 50fba3568d..e993e396c1 100644
--- a/src/runtime/debuglog.go
+++ b/src/runtime/debuglog.go
@@ -327,7 +327,7 @@ func (l *dloggerImpl) p(x any) *dloggerImpl {
l.w.uvarint(0)
} else {
v := efaceOf(&x)
- switch v._type.Kind_ & abi.KindMask {
+ switch v._type.Kind() {
case abi.Chan, abi.Func, abi.Map, abi.Pointer, abi.UnsafePointer:
l.w.uvarint(uint64(uintptr(v.data)))
default: