Fixed more stdio error handling
This commit is contained in:
@@ -192,7 +192,7 @@ namespace sts::ncm {
|
||||
return fsdevGetLastResult();
|
||||
}
|
||||
|
||||
if (!fseek(f, offset, SEEK_SET)) {
|
||||
if (fseek(f, offset, SEEK_SET) != 0) {
|
||||
return fsdevGetLastResult();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user