Merge branch 'sr/add--interactive-term-readkey'
[gitweb.git] / builtin / pack-objects.c
index 93095c1198d5ce4ae486271aabc57ae894cb2039..1fb972f45aa9076926f4a6cda1dd1034a53b4573 100644 (file)
@@ -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"? */