summaryrefslogtreecommitdiff
path: root/cifs.upcall.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2010-02-07 10:52:59 -0500
committerJeff Layton <jlayton@redhat.com>2010-02-07 10:52:59 -0500
commit96ff754155ef13681c79ccbda2d998f411ac0e6f (patch)
tree7fa231496aca60a8061cd8b4a29974d3fdba2ac8 /cifs.upcall.c
parent00a84a5f8532bcc5c5a39fd600606f2c337e46f9 (diff)
downloadcifs-utils-96ff754155ef13681c79ccbda2d998f411ac0e6f.tar.gz
cifs-utils-96ff754155ef13681c79ccbda2d998f411ac0e6f.tar.bz2
cifs-utils-96ff754155ef13681c79ccbda2d998f411ac0e6f.zip
cifs.upcall: replace SMB_STRNDUP with strndup
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'cifs.upcall.c')
-rw-r--r--cifs.upcall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cifs.upcall.c b/cifs.upcall.c
index b83c36f..eb2279a 100644
--- a/cifs.upcall.c
+++ b/cifs.upcall.c
@@ -220,7 +220,7 @@ find_krb5_cc(const char *dirname, uid_t uid)
syslog(LOG_DEBUG, "%s: %s is valid ccache", __func__, ccname);
free(best_cache);
- best_cache = SMB_STRNDUP(ccname, MAX_CCNAME_LEN);
+ best_cache = strndup(ccname, MAX_CCNAME_LEN);
best_time = cred_time;
free(namelist[i]);
}