summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2015-11-17 12:09:57 +0000
committerume <ume@FreeBSD.org>2015-11-17 12:09:57 +0000
commit16f234bfccac9b4f00a3b2576b63dd068bae1e07 (patch)
treeb047f9507afbbb350dd7539a16c69830371793cb /usr.bin
parent1252a89f35a8a8f9c4293787caf44534018398ac (diff)
downloadFreeBSD-src-16f234bfccac9b4f00a3b2576b63dd068bae1e07.zip
FreeBSD-src-16f234bfccac9b4f00a3b2576b63dd068bae1e07.tar.gz
JSON doesn't permit a hexadecimal notation of an integer.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/netstat/if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c
index f2f689d..9b8ff70 100644
--- a/usr.bin/netstat/if.c
+++ b/usr.bin/netstat/if.c
@@ -358,7 +358,7 @@ intpr(void (*pfunc)(char *), int af)
} else
xname = name;
- xo_emit("{etk:name/%s}{e:flags/0x%x}{d:/%-*.*s}",
+ xo_emit("{etk:name/%s}{eq:flags/0x%x}{d:/%-*.*s}",
name, ifa->ifa_flags, ifn_len_max, ifn_len_max, xname);
#define IFA_MTU(ifa) (((struct if_data *)(ifa)->ifa_data)->ifi_mtu)
OpenPOWER on IntegriCloud