From ae1455cc7dadfaa494c792217d1e4a53efb2747e Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Sat, 19 Nov 2016 11:30:15 +0100 Subject: [PATCH] atusb-eui64: print out set address with upper case characters in hex Align read out format with parameter format to allow easier scripting for production. --- tools/atusb-eui64/atusb-eui64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/atusb-eui64/atusb-eui64.c b/tools/atusb-eui64/atusb-eui64.c index f92ef70..0bee862 100644 --- a/tools/atusb-eui64/atusb-eui64.c +++ b/tools/atusb-eui64/atusb-eui64.c @@ -153,7 +153,7 @@ static void show_usb_info(struct atrf_dsc *dsc, unsigned char *mac, int write) get_eui64(dev, eui64, EUI64_LEN); printf("Current EUI64 address from EEPROM: "); for (i = 0; i < EUI64_LEN; i++) { - printf("%02x", eui64[EUI64_LEN - 1 - i]); + printf("%02X", eui64[EUI64_LEN - 1 - i]); if (i < EUI64_LEN -1) printf(":"); }