diff options
Diffstat (limited to 'src/nvim/diff.c')
-rw-r--r-- | src/nvim/diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/diff.c b/src/nvim/diff.c index e5fa277671..8b0bf4e997 100644 --- a/src/nvim/diff.c +++ b/src/nvim/diff.c @@ -948,7 +948,7 @@ void ex_diffpatch(exarg_T *eap) // Only continue if the output file was created. FileInfo file_info; - bool info_ok = os_get_file_info((char *)tmp_new, &file_info); + bool info_ok = os_fileinfo((char *)tmp_new, &file_info); off_t filesize = os_fileinfo_size(&file_info); if (!info_ok || filesize == 0) { EMSG(_("E816: Cannot read patch output")); |