fpga_io, user_io, minimig: Remove unreferenced printf arguments

Remove arguments to *printf that were not being referenced by the format
strings.
This commit is contained in:
David Holm
2018-12-29 11:55:20 +01:00
parent e0781ccfc1
commit 6813f707ea
3 changed files with 3 additions and 3 deletions

View File

@@ -486,7 +486,7 @@ int fpga_load_rbf(const char *name, const char *cfg)
{
if (read(rbf, buf, st.st_size)<st.st_size)
{
printf("Couldn't read file \n", st.st_size);
printf("Couldn't read file %s\n", name);
ret = -1;
}
else

View File

@@ -245,7 +245,7 @@ static char* GetConfigurationName(int num)
if (d)
{
if(num) sprintf(path, "minimig%d", num);
else sprintf(path, "minimig.cfg", num);
else sprintf(path, "minimig.cfg");
while ((dir = readdir(d)) != NULL)
{

View File

@@ -2564,7 +2564,7 @@ unsigned char user_io_ext_idx(char *name, char* ext)
}
}
printf("not found! use 0\n", name, ext, 0);
printf("not found! use 0\n");
return 0;
}