summaryrefslogtreecommitdiff
path: root/source3/smbd/trans2.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/trans2.c')
-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) {