buf_write(): wrong argument to os_fileinfo_hardlinks

This was broken in ye olde refactor from 2014:
e85fe0957d

References #4370
This commit is contained in:
Justin M. Keyes
2017-08-08 20:50:41 +02:00
parent e13b4a21ca
commit 9506ee0370
2 changed files with 5 additions and 2 deletions

View File

@@ -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: