corsair: Use correct format specifier in error message

This commit is contained in:
Richard Hughes 2022-04-23 09:07:58 +01:00
parent b7bb9c35dd
commit c38be3aca6

View File

@ -98,7 +98,7 @@ fu_corsair_device_command(FuDevice *device, guint8 *data, guint timeout, GError
g_set_error(error,
G_IO_ERROR,
G_IO_ERROR_FAILED,
"device replied with error: %" G_GSIZE_FORMAT,
"device replied with error: 0x%02x",
data[CORSAIR_OFFSET_CMD_STATUS]);
return FALSE;
}