diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-07-25 22:28:19 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-07-25 22:32:23 +0200 |
commit | 2731080212fad1430becae0cb56fe33238e7e24a (patch) | |
tree | 14de0a1eb8da856c567256a9b8acf6e5d0005c4f /src/nvim/if_cscope.c | |
parent | bb3a0099c6909edc779cf9d2eff9656dab9a967e (diff) | |
download | rneovim-2731080212fad1430becae0cb56fe33238e7e24a.tar.gz rneovim-2731080212fad1430becae0cb56fe33238e7e24a.tar.bz2 rneovim-2731080212fad1430becae0cb56fe33238e7e24a.zip |
cleanup: remove mch_fopen in favor of os_fopen
Diffstat (limited to 'src/nvim/if_cscope.c')
-rw-r--r-- | src/nvim/if_cscope.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/if_cscope.c b/src/nvim/if_cscope.c index ca2a163c57..0f9984ec38 100644 --- a/src/nvim/if_cscope.c +++ b/src/nvim/if_cscope.c @@ -1008,10 +1008,10 @@ static int cs_find_common(char *opt, char *pat, int forceit, int verbose, qf_info_T *qi = NULL; win_T *wp = NULL; - f = mch_fopen((char *)tmp, "w"); - if (f == NULL) + f = os_fopen((char *)tmp, "w"); + if (f == NULL) { EMSG2(_(e_notopen), tmp); - else { + } else { cs_file_results(f, nummatches); fclose(f); if (use_ll) /* Use location list */ |