fix printf

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24954 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-03-26 01:40:34 +00:00
parent 95ab53d314
commit 27f682668f

View File

@@ -343,7 +343,7 @@ krb5_config_parse_file_multi (krb5_context context,
home = pw->pw_dir;
}
if (home) {
asprintf(&newfname, "%s%s", &fname[1]);
asprintf(&newfname, "%s%s", home, &fname[1]);
if (newfname == NULL) {
krb5_set_error_message(context, ret,
N_("malloc: out of memory", ""));