From 27f682668fb0cb58f69a35a7ab830911ce63746a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 26 Mar 2009 01:40:34 +0000 Subject: [PATCH] fix printf git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24954 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/config_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/krb5/config_file.c b/lib/krb5/config_file.c index e38fd7fb4..10ccabafa 100644 --- a/lib/krb5/config_file.c +++ b/lib/krb5/config_file.c @@ -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", ""));