summaryrefslogtreecommitdiff
path: root/builtin/pack-objects.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-03-03 12:13:20 -0800
committerJunio C Hamano <gitster@pobox.com>2014-03-03 12:13:20 -0800
commit2156a98045f83dd88386b2d4d3241d66bf722ade (patch)
tree444a56f73ad574ca395ca3451dd947d57ff58943 /builtin/pack-objects.c
parent2de34784dfcbb4fe0febe9ab98e0b99138040109 (diff)
parent0eea5a6e91d3da6932c13f16fdf4b4e5ed91b93c (diff)
downloadgit-2156a98045f83dd88386b2d4d3241d66bf722ade.tar.gz
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
Diffstat (limited to 'builtin/pack-objects.c')
-rw-r--r--builtin/pack-objects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/pack-objects.c b/builtin/pack-objects.c
index c73337931b..4922ce5e27 100644
--- a/builtin/pack-objects.c
+++ b/builtin/pack-objects.c
@@ -823,7 +823,7 @@ static void write_pack_file(void)
utb.modtime = --last_mtime;
if (utime(pack_tmp_name, &utb) < 0)
warning("failed utime() on %s: %s",
- tmpname, strerror(errno));
+ pack_tmp_name, strerror(errno));
}
/* Enough space for "-<sha-1>.pack"? */