X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=index-pack.c;h=2931511e8cd9f2a825d1eb949858ea9b305c337f;hb=5c38ea31f345d08f37685cf4f50c599a7af56bcf;hp=60ed41a993bf9e213b7dfde5ff43528eff6b6252;hpb=6d14414d21973580547ca1935b2692a43c0b0b5f;p=git.git diff --git a/index-pack.c b/index-pack.c index 60ed41a99..2931511e8 100644 --- a/index-pack.c +++ b/index-pack.c @@ -178,7 +178,7 @@ static char *open_pack_file(char *pack_name) } else output_fd = open(pack_name, O_CREAT|O_EXCL|O_RDWR, 0600); if (output_fd < 0) - die("unable to create %s: %s\n", pack_name, strerror(errno)); + die("unable to create %s: %s", pack_name, strerror(errno)); pack_fd = output_fd; } else { input_fd = open(pack_name, O_RDONLY);