summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 7af4bcee60..478f60d094 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -4876,7 +4876,7 @@ static NTSTATUS smb_set_file_unix_link(connection_struct *conn,
return NT_STATUS_NO_MEMORY;
}
}
- rel_name = talloc_asprintf_append(ctx,
+ rel_name = talloc_asprintf_append(rel_name,
"%s",
link_target);
if (!rel_name) {