Skip to content

Commit 5964acf

Browse files
committed
Fix HAVE_LINKAT_RUNTIME
1 parent ee54ca2 commit 5964acf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Modules/posixmodule.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4482,7 +4482,8 @@ os_linkat_impl(PyObject *module, int src_dir_fd, path_t *src_path,
44824482
flags);
44834483
}
44844484
else {
4485-
result = ENOSYS;
4485+
errno = ENOSYS;
4486+
result = -1;
44864487
}
44874488
Py_END_ALLOW_THREADS
44884489

0 commit comments

Comments
 (0)