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:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user