1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-10-30 13:57:54 +01:00

Merge branch 'sh/write-pack-file-warning-message-fix' into sh/finish-tmp-packfile

* sh/write-pack-file-warning-message-fix:
  write_pack_file: use correct variable in diagnostic
This commit is contained in:
Junio C Hamano 2014-03-03 12:13:20 -08:00
commit 2156a98045

View file

@ -823,7 +823,7 @@ static void write_pack_file(void)
utb.modtime = --last_mtime; utb.modtime = --last_mtime;
if (utime(pack_tmp_name, &utb) < 0) if (utime(pack_tmp_name, &utb) < 0)
warning("failed utime() on %s: %s", warning("failed utime() on %s: %s",
tmpname, strerror(errno)); pack_tmp_name, strerror(errno));
} }
/* Enough space for "-<sha-1>.pack"? */ /* Enough space for "-<sha-1>.pack"? */