From 5ad497eeada28b33e3fcfec1139652184cfdfc8e Mon Sep 17 00:00:00 2001 From: Michael Tuexen Date: Wed, 17 Aug 2016 16:56:20 +0000 Subject: [PATCH] Fix the output for scope statistics. MFC after: 3 days --- usr.bin/netstat/inet6.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/netstat/inet6.c b/usr.bin/netstat/inet6.c index 541ca56dec6..d01f690ec6e 100644 --- a/usr.bin/netstat/inet6.c +++ b/usr.bin/netstat/inet6.c @@ -488,8 +488,8 @@ ip6_stats(u_long off, const char *name, int af1 __unused, int proto __unused) "{N:/global%s}\n");\ break;\ default:\ - xo_emit("\t\t{qke:name/%x}{:count/%ju} " \ - "addresses scope=%x\n",\ + xo_emit("\t\t{qke:name/%#x}{:count/%ju} " \ + "{N:/addresses scope=%#x}\n",\ i, (uintmax_t)ip6stat.s, i); \ }\ } while (0);