mirror of
https://github.com/vale981/yabar
synced 2025-03-05 09:31:39 -05:00
Merge pull request #84 from jacksgt/master
Fix format error warning when compiling
This commit is contained in:
commit
bf11b6e68e
1 changed files with 2 additions and 3 deletions
|
@ -120,8 +120,7 @@ static int ya_inherit_blk(ya_block_t *dstb, const char *name) {
|
|||
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++) {
|
||||
|
@ -131,7 +130,7 @@ static int ya_inherit_blk(ya_block_t *dstb, const char *name) {
|
|||
}
|
||||
}
|
||||
if(barnamelen == 0) {
|
||||
fprintf(stderr, per);
|
||||
fprintf(stderr, "%s", per);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue