summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/usbutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usbutil.c b/src/usbutil.c
index f29302b..b34739e 100644
--- a/src/usbutil.c
+++ b/src/usbutil.c
@@ -113,7 +113,7 @@ static gboolean spice_usbutil_parse_usbids(gchar *path)
usbids_vendor_count++;
}
- if (usbids_vendor_info == 0 || product_count == 0) {
+ if (usbids_vendor_count == 0 || product_count == 0) {
usbids_vendor_count = -1;
g_strfreev(lines);
g_free(contents);