mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-02-08 12:50:29 +01:00
Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Marco Trevisan <mail@3v1n0.net>
This commit is contained in:
parent
01e02d1e49
commit
7efd7fe72c
1 changed files with 1 additions and 1 deletions
|
|
@ -538,7 +538,7 @@ fp_context_enumerate (FpContext *context)
|
|||
const gchar * sysfs = g_udev_device_get_sysfs_path (matched_misc->data);
|
||||
if (!sysfs)
|
||||
continue;
|
||||
if (strstr (sysfs, entry->misc_name))
|
||||
if (g_str_has_suffix (sysfs, entry->misc_name))
|
||||
break;
|
||||
}
|
||||
/* If match was not found exit */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue