aboutsummaryrefslogtreecommitdiffstats
path: root/ports/unix/guts/linkat.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/unix/guts/linkat.c')
-rw-r--r--ports/unix/guts/linkat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/unix/guts/linkat.c b/ports/unix/guts/linkat.c
index 279a15b..7d8dff4 100644
--- a/ports/unix/guts/linkat.c
+++ b/ports/unix/guts/linkat.c
@@ -2,6 +2,8 @@
* Copyright (c) 2012, 2013 Wind River Systems; see
* guts/COPYRIGHT for information.
*
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
* int linkat(int olddirfd, const char *oldname, int newdirfd, const char *newname, int flags)
* int rc = -1;
*/
@@ -114,6 +116,7 @@
* if the thing linked is a symlink.
*/
pseudo_client_op(OP_LINK, 0, -1, -1, newpath, &buf);
+ pseudo_client_linked_paths(oldpath, newpath);
errno = save_errno;