summaryrefslogtreecommitdiffstats
path: root/usr.sbin/fwcontrol/fwcontrol.c
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2003-10-22 07:23:27 +0000
committersimokawa <simokawa@FreeBSD.org>2003-10-22 07:23:27 +0000
commit2f7e12f3f8afa5e9ca39e199b3c60dabdbb74202 (patch)
tree04d5536d6b1bf0822a7bf2d223dbac22a5f88442 /usr.sbin/fwcontrol/fwcontrol.c
parent5a35d3b76451f519ba4fa8c383315f2c5f9f6448 (diff)
downloadFreeBSD-src-2f7e12f3f8afa5e9ca39e199b3c60dabdbb74202.zip
FreeBSD-src-2f7e12f3f8afa5e9ca39e199b3c60dabdbb74202.tar.gz
Add '0x' in front of EUI64 to avoid confusion.
Diffstat (limited to 'usr.sbin/fwcontrol/fwcontrol.c')
-rw-r--r--usr.sbin/fwcontrol/fwcontrol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/fwcontrol/fwcontrol.c b/usr.sbin/fwcontrol/fwcontrol.c
index b1bf134..a7465f5 100644
--- a/usr.sbin/fwcontrol/fwcontrol.c
+++ b/usr.sbin/fwcontrol/fwcontrol.c
@@ -99,10 +99,10 @@ list_dev(int fd)
data = get_dev(fd);
printf("%d devices (info_len=%d)\n", data->n, data->info_len);
- printf("node EUI64 status\n");
+ printf("node EUI64 status\n");
for (i = 0; i < data->info_len; i++) {
devinfo = &data->dev[i];
- printf("%4d %08x%08x %6d\n",
+ printf("%4d 0x%08x%08x %6d\n",
(devinfo->status || i == 0) ? devinfo->dst : -1,
devinfo->eui.hi,
devinfo->eui.lo,
OpenPOWER on IntegriCloud