mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-27 04:04:05 +00:00
corsair: Use correct format specifier in error message
This commit is contained in:
parent
b7bb9c35dd
commit
c38be3aca6
@ -98,7 +98,7 @@ fu_corsair_device_command(FuDevice *device, guint8 *data, guint timeout, GError
|
|||||||
g_set_error(error,
|
g_set_error(error,
|
||||||
G_IO_ERROR,
|
G_IO_ERROR,
|
||||||
G_IO_ERROR_FAILED,
|
G_IO_ERROR_FAILED,
|
||||||
"device replied with error: %" G_GSIZE_FORMAT,
|
"device replied with error: 0x%02x",
|
||||||
data[CORSAIR_OFFSET_CMD_STATUS]);
|
data[CORSAIR_OFFSET_CMD_STATUS]);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user