aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/misc1.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-07-25 22:28:19 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-07-25 22:32:23 +0200
commit2731080212fad1430becae0cb56fe33238e7e24a (patch)
tree14de0a1eb8da856c567256a9b8acf6e5d0005c4f /src/nvim/misc1.c
parentbb3a0099c6909edc779cf9d2eff9656dab9a967e (diff)
downloadrneovim-2731080212fad1430becae0cb56fe33238e7e24a.tar.gz
rneovim-2731080212fad1430becae0cb56fe33238e7e24a.tar.bz2
rneovim-2731080212fad1430becae0cb56fe33238e7e24a.zip
cleanup: remove mch_fopen in favor of os_fopen
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r--src/nvim/misc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c
index 463c29405b..db0d56b5fd 100644
--- a/src/nvim/misc1.c
+++ b/src/nvim/misc1.c
@@ -2836,7 +2836,7 @@ char_u *get_cmd_output(char_u *cmd, char_u *infile, ShellOpts flags,
xfree(command);
// read the names from the file into memory
- FILE *fd = mch_fopen((char *)tempname, READBIN);
+ FILE *fd = os_fopen((char *)tempname, READBIN);
if (fd == NULL) {
EMSG2(_(e_notopen), tempname);