toolchain: xpcg: update fx path api usage
This commit is contained in:
@@ -86,11 +86,8 @@ static int xpcg(
|
||||
}
|
||||
|
||||
fx_file *file = NULL;
|
||||
fx_result result = fx_file_open(
|
||||
NULL,
|
||||
FX_RV_PATH(path),
|
||||
FX_FILE_READ_ONLY,
|
||||
&file);
|
||||
fx_result result
|
||||
= fx_file_open(NULL, FX_CSTR(path), FX_FILE_READ_ONLY, &file);
|
||||
if (fx_result_is_error(result)) {
|
||||
fx_throw(result);
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user