summaryrefslogtreecommitdiff
path: root/index-pack.c
diff options
context:
space:
mode:
authorAlexander Potashev <aspotashev@gmail.com>2009-01-04 18:38:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-01-05 21:01:01 (GMT)
commitd75307084da5f89329de190bb9b4a3196cec1d0e (patch)
tree74731a248640431379ceba54fa4e826b85d22eaa /index-pack.c
parente89e2ed7c225cf16cffbd9648895528e471e2fb8 (diff)
downloadgit-d75307084da5f89329de190bb9b4a3196cec1d0e.zip
git-d75307084da5f89329de190bb9b4a3196cec1d0e.tar.gz
git-d75307084da5f89329de190bb9b4a3196cec1d0e.tar.bz2
remove trailing LF in die() messages
LF at the end of format strings given to die() is redundant because die already adds one on its own. Signed-off-by: Alexander Potashev <aspotashev@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'index-pack.c')
-rw-r--r--index-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/index-pack.c b/index-pack.c
index 60ed41a..2931511 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);