mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Fix -Wformat-extra-args warnings (#1533)
Fix a few instances where an incorrect number of arguments was supplied when calling (v)log_error. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com> Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
committed by
GitHub
parent
fb1e8fcf9b
commit
8bb69ef665
@@ -1664,7 +1664,7 @@ static cl_program MakeProgram( Type outType, Type inType, SaturationMode sat,
|
||||
&programSource, testName, flags);
|
||||
if (error)
|
||||
{
|
||||
vlog_error("Failed to build kernel/program.\n", error);
|
||||
vlog_error("Failed to build kernel/program (err = %d).\n", error);
|
||||
clReleaseProgram(program);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user