fix no format arguments warnings
debian package build system will mark this as error
This commit is contained in:
parent
d96fb235ee
commit
e32e72d9e5
|
@ -1937,7 +1937,7 @@ static void fprintf_inout_pin(FILE* f, struct fpga_model* model,
|
|||
fdev_type2str(tile->devs[dev_idx].type),
|
||||
fdev_typeidx(model, el->y, el->x, dev_idx),
|
||||
pin_str);
|
||||
fprintf(f, buf);
|
||||
fprintf(f, "%s", buf);
|
||||
}
|
||||
|
||||
void fnet_printf(FILE* f, struct fpga_model* model, net_idx_t net_i)
|
||||
|
|
|
@ -758,7 +758,7 @@ int printf_conns(FILE* f, struct fpga_model* model)
|
|||
tmp_line[k++] = ' ';
|
||||
sprintf(&tmp_line[k], "y%02i x%02i %s\n",
|
||||
other_tile_y, other_tile_x, other_tile_connpt_str);
|
||||
fprintf(f, tmp_line);
|
||||
fprintf(f, "%s", tmp_line);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -829,7 +829,7 @@ void printf_wrap(FILE* f, char* line, int prefix_len,
|
|||
if (i >= 80) {
|
||||
line[i] = '\n';
|
||||
line[i+1] = 0;
|
||||
fprintf(f, line);
|
||||
fprintf(f, "%s", line);
|
||||
line[prefix_len] = 0;
|
||||
i = prefix_len;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user