diff options
Diffstat (limited to 'src/nvim/undo.c')
-rw-r--r-- | src/nvim/undo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/undo.c b/src/nvim/undo.c index 05adc3c6d3..0777d1309d 100644 --- a/src/nvim/undo.c +++ b/src/nvim/undo.c @@ -1343,9 +1343,9 @@ write_error: #ifdef HAVE_ACL if (buf->b_ffname != NULL) { // For systems that support ACL: get the ACL from the original file. - vim_acl_T acl = mch_get_acl((char_u *)buf->b_ffname); - mch_set_acl((char_u *)file_name, acl); - mch_free_acl(acl); + vim_acl_T acl = os_get_acl((char_u *)buf->b_ffname); + os_set_acl((char_u *)file_name, acl); + os_free_acl(acl); } #endif |