Skip to content

Commit 6947c25

Browse files
committed
The PCI function is typically represented as a single digit.
1 parent 5d3232b commit 6947c25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dmioem.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ static int dmi_decode_hp(struct dmi_header *h)
9090
printf("\tNIC %d [NOT_INSTALLED]\n", nic);
9191
else
9292
{
93-
printf("\tNIC %d [%02x:%02x.%02x]",
93+
printf("\tNIC %d [%02x:%02x.%x]",
9494
nic, data[ptr+1], data[ptr]>>3, data[ptr]&7);
9595
printf(" %02X:%02X:%02X:%02X:%02X:%02X\n",
9696
data[ptr+2], data[ptr+3],
@@ -119,7 +119,7 @@ static int dmi_decode_hp(struct dmi_header *h)
119119
printf("\tNIC %d [NOT_INSTALLED]\n", nic);
120120
else
121121
{
122-
printf("\tNIC %d [%02x:%02x.%02x]",
122+
printf("\tNIC %d [%02x:%02x.%x]",
123123
nic, data[ptr+1], data[ptr]>>3, data[ptr]&7);
124124
printf(" %02X:%02X:%02X:%02X:%02X:%02X\n",
125125
data[ptr+2], data[ptr+3],

0 commit comments

Comments
 (0)