From 098781a405af31e4bd8a6fc3ffaebc652f075f98 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 14 Oct 2009 11:04:52 -0400 Subject: [PATCH] Attempt to fix the build -- jlayton, please check! (cherry picked from commit 223bee1fc5f655adb61db603a5423c8bf4a5f582) --- source/client/cifs.upcall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/client/cifs.upcall.c b/source/client/cifs.upcall.c index e844249fbd5..2e20686cda2 100644 --- a/source/client/cifs.upcall.c +++ b/source/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; -- 2.11.4.GIT