add missing \n in error print
diff --git a/libexec/got-index-pack/got-index-pack.c b/libexec/got-index-pack/got-index-pack.c
index 486fe19..1bfbc72 100644
--- a/libexec/got-index-pack/got-index-pack.c
+++ b/libexec/got-index-pack/got-index-pack.c
@@ -621,7 +621,7 @@ readpacked(FILE *f, Object *o, int flag)
switch(t){
default:
- fprintf(stderr, "invalid object at %lld", ftello(f));
+ fprintf(stderr, "invalid object at %lld\n", ftello(f));
return -1;
case GCommit:
case GTree: