summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/link/fdbased/endpoint.go
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-03-25 17:15:05 -0700
committerAdin Scannell <ascannell@google.com>2020-04-08 10:14:34 -0700
commit928a7c60b8f02811e9c0fcbed0077efd55471cc4 (patch)
tree1c32d4947604622f0a9e3a46df06eeefba46adc6 /pkg/tcpip/link/fdbased/endpoint.go
parent94b793262d3c54b4c32fed83d2bd121069680d15 (diff)
Fix all printf formatting errors.
Updates #2243
Diffstat (limited to 'pkg/tcpip/link/fdbased/endpoint.go')
-rw-r--r--pkg/tcpip/link/fdbased/endpoint.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/link/fdbased/endpoint.go b/pkg/tcpip/link/fdbased/endpoint.go
index 7198742b7..b857ce9d0 100644
--- a/pkg/tcpip/link/fdbased/endpoint.go
+++ b/pkg/tcpip/link/fdbased/endpoint.go
@@ -91,7 +91,7 @@ func (p PacketDispatchMode) String() string {
case PacketMMap:
return "PacketMMap"
default:
- return fmt.Sprintf("unknown packet dispatch mode %v", p)
+ return fmt.Sprintf("unknown packet dispatch mode '%d'", p)
}
}