Commit 57138e056c5da8bbe30d11e9bc344a8d798b2368

Stefan Sperling 2020-03-18T16:11:28

add missing \n in error print

1
2
3
4
5
6
7
8
9
10
11
12
13
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: