X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=wrapper.c;h=28290002b9f6434d716a39612f3afc9958c292af;hb=2dbae5acc7b3d0615bcf534ac85181a3185cb6de;hp=4c147d6c48c000bab636fad3edc2fe7da6670948;hpb=ccf6d62d1e8d9a725b4c5a374c2d0e2cd01dd6a7;p=git.git diff --git a/wrapper.c b/wrapper.c index 4c147d6c4..28290002b 100644 --- a/wrapper.c +++ b/wrapper.c @@ -209,7 +209,7 @@ int xmkstemp(char *template) if (!template[0]) template = origtemplate; - nonrelative_template = make_nonrelative_path(template); + nonrelative_template = absolute_path(template); errno = saved_errno; die_errno("Unable to create temporary file '%s'", nonrelative_template); @@ -344,7 +344,7 @@ int xmkstemp_mode(char *template, int mode) if (!template[0]) template = origtemplate; - nonrelative_template = make_nonrelative_path(template); + nonrelative_template = absolute_path(template); errno = saved_errno; die_errno("Unable to create temporary file '%s'", nonrelative_template);