mirror of
https://gitlab.freedesktop.org/libfprint/fprintd.git
synced 2026-05-05 20:28:21 +02:00
device: Fix verify-disconnected state name
Respect protocol, and use proper name
This commit is contained in:
parent
efac52d94f
commit
5e9624bef5
1 changed files with 1 additions and 1 deletions
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue