fix compile error

This commit is contained in:
Alcaro 2020-08-26 15:01:02 +02:00 committed by GitHub
parent 662e37f670
commit 8c481be09b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1403,9 +1403,9 @@ struct string_list* cdrom_get_available_drives(void)
if (string_split_noalloc(&mods, buf, "\n"))
{
for (i = 0; i < mods->size; i++)
for (i = 0; i < mods.size; i++)
{
if (strcasestr(mods->elems[i].data, "sg "))
if (strcasestr(mods.elems[i].data, "sg "))
{
#ifdef CDROM_DEBUG
found = true;