X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=server-info.c;h=a051e49a9ea2f605bdc278394de731ff4c55e627;hb=c4d48ab5afc34b59582593622ef04da2543573d4;hp=0d1312ca56d52daa3fc692984d4d3abaf3425791;hpb=11bb2d4fa9ebc7481828c25752d8c23233b24c76;p=git.git diff --git a/server-info.c b/server-info.c index 0d1312ca5..a051e49a9 100644 --- a/server-info.c +++ b/server-info.c @@ -35,7 +35,7 @@ static int update_info_refs(int force) safe_create_leading_directories(path0); info_ref_fp = fopen(path1, "w"); if (!info_ref_fp) - return error("unable to update %s", path0); + return error("unable to update %s", path1); for_each_ref(add_info_ref, NULL); fclose(info_ref_fp); adjust_shared_perm(path1);