Description: Fix Format Errors
Author: Jack Henschel <jh@openmailbox.org>
Forwarded: https://github.com/geommer/yabar/pull/84
Last-Update: 2016-06-28

--- yabar-0.4.0.orig/src/ya_parse.c
+++ yabar-0.4.0/src/ya_parse.c
@@ -112,8 +112,7 @@ static int ya_inherit_blk(ya_block_t *ds
 	ya_block_t *srcb;
 	int nlen = strlen(name);
 	if(nlen < 1) {
-		fprintf(stderr, "No inherit entry. ");
-		fprintf(stderr, per);
+		fprintf(stderr, "No inherit entry. %s", per);
 		return -1;
 	}
 	for(int i = 0; i < nlen; i++) {
@@ -123,7 +122,7 @@ static int ya_inherit_blk(ya_block_t *ds
 		}
 	}
 	if(barnamelen == 0) {
-		fprintf(stderr, per);
+		fprintf(stderr, "%s", per);
 		return -1;
 	}
 
