From 5e9624bef5aed49637527d491c77f7887fd2c275 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Tue, 11 Feb 2020 23:00:25 +0100 Subject: [PATCH] device: Fix verify-disconnected state name Respect protocol, and use proper name --- src/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/device.c b/src/device.c index 842f97b..bb7e4f6 100644 --- a/src/device.c +++ b/src/device.c @@ -344,7 +344,7 @@ verify_result_to_name (gboolean match, GError *error) * Are drivers/libfprint/fprintd really in agreement here? */ if (g_error_matches (error, FP_DEVICE_ERROR, FP_DEVICE_ERROR_PROTO)) - return "verify-disconnect"; + return "verify-disconnected"; else if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) return "verify-no-match";