toolchain: xpcg: update fx path api usage
This commit is contained in:
@@ -1150,7 +1150,7 @@ static int emit_interface(const struct interface_definition *iface)
|
||||
snprintf(path, sizeof path, "%s.h", iface->if_name);
|
||||
fx_result result = fx_file_open(
|
||||
NULL,
|
||||
FX_RV_PATH(path),
|
||||
FX_CSTR(path),
|
||||
FX_FILE_WRITE_ONLY | FX_FILE_CREATE | FX_FILE_TRUNCATE,
|
||||
&file);
|
||||
if (fx_result_is_error(result)) {
|
||||
|
||||
Reference in New Issue
Block a user