summaryrefslogtreecommitdiff
path: root/client/cifs.upcall.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/cifs.upcall.c')
-rw-r--r--client/cifs.upcall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/cifs.upcall.c b/client/cifs.upcall.c
index e592a4f7c5..82b9f7b91b 100644
--- a/client/cifs.upcall.c
+++ b/client/cifs.upcall.c
@@ -80,7 +80,7 @@ get_krb5_ccname(pid_t pid)
}
p += 11;
left -= 11;
- value = strndup(p, left);
+ value = SMB_STRNDUP(p, left);
break;
}
return value;