Commit b567dbb4 authored by anonymous's avatar anonymous
Browse files

Fix checking file_seek() return value

parent b7aaa918
......@@ -1311,7 +1311,7 @@ uint32_t TRAP_MediaCheck(bdplus_config_t *config, uint8_t *FileName, uint32_t Fi
if (file_seek(fd, seek, SEEK_SET)) {
if (file_seek(fd, seek, SEEK_SET) < 0) {
BD_DEBUG(DBG_BDPLUS|DBG_CRIT, "[TRAP] TRAP_MediaCheck: failed to seek %s to %"PRIu64"\n", (char *)FileName, seek);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment