mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
[BugFix] openplugins.rock 0 is a valid file descriptor
Change-Id: Id7d9c2c4b9d13433c8aa2260b20f5d74e4b3add8
This commit is contained in:
parent
1add6b0dd5
commit
9b0516e4e1
1 changed files with 1 additions and 1 deletions
|
|
@ -1338,7 +1338,7 @@ reopen_datfile:
|
|||
hash_exists(op_entry.hash, false);
|
||||
}
|
||||
|
||||
if (!fd_dat)
|
||||
if (fd_dat < 0)
|
||||
exit = true;
|
||||
|
||||
items = rb->lseek(fd_dat, 0, SEEK_END) / op_entry_sz;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue