index-pack: report error using the correct variable
commitde983a0a1817437fbb0db938ecf91f73023a5f87
authorJunio C Hamano <gitster@pobox.com>
Mon, 17 Mar 2014 22:08:36 +0000 (17 15:08 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Mar 2014 22:08:36 +0000 (17 15:08 -0700)
treeeadbd50be47c23d79a855520ea68d220a465dba7
parent7bbc4e8fdb33e0a8e42e77cc05460d4c4f615f4d
index-pack: report error using the correct variable

We feed a string pointer that is potentially NULL to die() when
showing the message.  Don't.

Noticed-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/index-pack.c