fix printf
authorLove Hörnquist Åstrand <lha@kth.se>
Thu, 26 Mar 2009 01:40:34 +0000 (01:40 +0000)
committerLove Hörnquist Åstrand <lha@kth.se>
Thu, 26 Mar 2009 01:40:34 +0000 (01:40 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24954 ec53bebd-3082-4978-b11e-865c3cabbd6b

lib/krb5/config_file.c

index e38fd7fb435ce6979a97e327868ae888815d2520..10ccabafa5aa29cff415984b69680c3aa16b98d1 100644 (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", ""));