Skip to content

Commit b8a577d

Browse files
committed
net: lan78xx: Fix error message
Display the return code as integer. Fixes: 55d7de9 ("Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver") Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com>
1 parent e318512 commit b8a577d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/net/usb/lan78xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ static int lan78xx_read_stats(struct lan78xx_net *dev,
522522
}
523523
} else {
524524
netdev_warn(dev->net,
525-
"Failed to read stat ret = 0x%x", ret);
525+
"Failed to read stat ret = %d", ret);
526526
}
527527

528528
kfree(stats);

0 commit comments

Comments
 (0)