Fixed more stdio error handling

This commit is contained in:
Adubbz 2019-07-27 13:32:49 +10:00
parent 8f65beef78
commit 741d0f8116
3 changed files with 8 additions and 8 deletions

View file

@ -192,7 +192,7 @@ namespace sts::ncm {
return fsdevGetLastResult();
}
if (!fseek(f, offset, SEEK_SET)) {
if (fseek(f, offset, SEEK_SET) != 0) {
return fsdevGetLastResult();
}