aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/fs.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-08-08 20:50:41 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-08-09 10:45:17 +0200
commit9506ee037083ff047a3601b3d97acf91521a58fb (patch)
tree08e504e04bcaa86ffec11979f407c36ab8c0037f /src/nvim/os/fs.c
parente13b4a21cac9d173885249034fe20fb209b157df (diff)
downloadrneovim-9506ee037083ff047a3601b3d97acf91521a58fb.tar.gz
rneovim-9506ee037083ff047a3601b3d97acf91521a58fb.tar.bz2
rneovim-9506ee037083ff047a3601b3d97acf91521a58fb.zip
buf_write(): wrong argument to os_fileinfo_hardlinks
This was broken in ye olde refactor from 2014: e85fe0957d40080f43cbfcbe9eb8864475325b09 References #4370
Diffstat (limited to 'src/nvim/os/fs.c')
-rw-r--r--src/nvim/os/fs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/os/fs.c b/src/nvim/os/fs.c
index 14dacd97c4..9e3025cf89 100644
--- a/src/nvim/os/fs.c
+++ b/src/nvim/os/fs.c
@@ -131,6 +131,7 @@ bool os_isdir(const char_u *name)
/// NODE_WRITABLE: writable device, socket, fifo, etc.
/// NODE_OTHER: non-writable things
int os_nodetype(const char *name)
+ FUNC_ATTR_NONNULL_ALL
{
#ifdef WIN32
// Edge case from Vim os_win32.c: