Renamed mx_open() and mx_stat()
This commit is contained in:
@@ -51,7 +51,7 @@ void __fio_init(mx_handle_t in, mx_handle_t out, mx_handle_t err)
|
|||||||
int __fio_fopen(const char *path, const char *mode, struct __io_file *fp)
|
int __fio_fopen(const char *path, const char *mode, struct __io_file *fp)
|
||||||
{
|
{
|
||||||
mx_handle_t h = MX_NULL_HANDLE;
|
mx_handle_t h = MX_NULL_HANDLE;
|
||||||
mx_status_t stat = mx_open(MX_NULL_HANDLE, path, 0, &h);
|
mx_status_t stat = mx_file_open(MX_NULL_HANDLE, path, 0, &h);
|
||||||
|
|
||||||
if (stat != MX_OK) {
|
if (stat != MX_OK) {
|
||||||
return -1;
|
return -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user