From 26acb432361acd2c4e372b9b9c74d4587a7b5336 Mon Sep 17 00:00:00 2001 From: Max Wash Date: Wed, 5 Aug 2020 15:01:50 +0100 Subject: [PATCH] Renamed mx_open() and mx_stat() --- photon/libc/sys/magenta/fio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/photon/libc/sys/magenta/fio.c b/photon/libc/sys/magenta/fio.c index 756af44..d6c8efb 100644 --- a/photon/libc/sys/magenta/fio.c +++ b/photon/libc/sys/magenta/fio.c @@ -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) { 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) { return -1;