summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Berg <bberg@redhat.com>2022-01-28 17:29:53 +0100
committerBenjamin Berg <bberg@redhat.com>2022-02-03 14:49:49 +0100
commitae5696a9bb5cf2fbc589430853239586f7bcd54f (patch)
tree4fed3ccbbe1e7382c6dc777b7544760da9e3ea21
parent038c7108a66fb9d69b7bfbe2e22b987f5de41573 (diff)
goodixmoc: Change error message for corrupted headers
Otherwise you can't tell from the log whether parsing the body or header failed.
-rw-r--r--libfprint/drivers/goodixmoc/goodix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libfprint/drivers/goodixmoc/goodix.c b/libfprint/drivers/goodixmoc/goodix.c
index 15a8532..ad5a58d 100644
--- a/libfprint/drivers/goodixmoc/goodix.c
+++ b/libfprint/drivers/goodixmoc/goodix.c
@@ -159,7 +159,7 @@ fp_cmd_receive_cb (FpiUsbTransfer *transfer,
{
fpi_ssm_mark_failed (transfer->ssm,
fpi_device_error_new_msg (FP_DEVICE_ERROR_PROTO,
- "Corrupted message received"));
+ "Corrupted message header received"));
return;
}