device: Always use FpFinger instead of a mixture of it and finger numbers

We already use FpFinger for storage operations and prints management,
but internally we keep still using the old finger number, that uses
different values for invalid data.

Let's be consistent, and always use FpFinger everywhere.
This commit is contained in:
Marco Trevisan (Treviño)
2020-12-05 17:00:19 +01:00
committed by Benjamin Berg
parent 043fcaafec
commit 22cdc0a7ea
2 changed files with 41 additions and 41 deletions

View File

@ -251,7 +251,7 @@ static GSList *scan_dev_storedir(char *devpath,
continue;
}
list = g_slist_prepend(list, GINT_TO_POINTER(val));
list = g_slist_prepend (list, GUINT_TO_POINTER (val));
}
g_dir_close(dir);