summaryrefslogtreecommitdiffstats
path: root/src/vlib/linux/vmbus.c
diff options
context:
space:
mode:
authorAlexander Skorichenko <askorichenko@netgate.com>2023-12-19 13:08:13 +0100
committerDamjan Marion <dmarion@0xa5.net>2023-12-22 15:46:51 +0000
commite1489260caaf2e3c600f761337a16b0d668376bb (patch)
tree5f38624a58f64444a0fc2f5dc456cbd269b33d5d /src/vlib/linux/vmbus.c
parent832342e3a4c25520ea95b4bac9402798832dfaf2 (diff)
vlib: lowercase vmbus device names
Use lowercased hex in uuid in sysfs/vmbus names Type: fix Change-Id: Ic4b7b995441723dc1b29ff8a75346cc8ba7f85f1 Signed-off-by: Alexander Skorichenko <askorichenko@netgate.com>
Diffstat (limited to 'src/vlib/linux/vmbus.c')
-rw-r--r--src/vlib/linux/vmbus.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vlib/linux/vmbus.c b/src/vlib/linux/vmbus.c
index b0663819a45..541c88b6537 100644
--- a/src/vlib/linux/vmbus.c
+++ b/src/vlib/linux/vmbus.c
@@ -165,19 +165,19 @@ format_vlib_vmbus_addr (u8 *s, va_list *va)
u8 *bytes = addr->guid;
for (int i = 0; i < 4; i++)
- s = format (s, "%02X", bytes++[0]);
+ s = format (s, "%02x", bytes++[0]);
vec_add1 (s, '-');
for (int i = 0; i < 2; i++)
- s = format (s, "%02X", bytes++[0]);
+ s = format (s, "%02x", bytes++[0]);
vec_add1 (s, '-');
for (int i = 0; i < 2; i++)
- s = format (s, "%02X", bytes++[0]);
+ s = format (s, "%02x", bytes++[0]);
vec_add1 (s, '-');
for (int i = 0; i < 2; i++)
- s = format (s, "%02X", bytes++[0]);
+ s = format (s, "%02x", bytes++[0]);
vec_add1 (s, '-');
for (int i = 0; i < 6; i++)
- s = format (s, "%02X", bytes++[0]);
+ s = format (s, "%02x", bytes++[0]);
return s;
}