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:
Sven van Haastregt
2022-11-01 20:09:48 +00:00
committed by GitHub
parent fb1e8fcf9b
commit 8bb69ef665
4 changed files with 6 additions and 5 deletions

View File

@@ -539,7 +539,7 @@ static cl_int print_build_log(cl_program program, cl_uint num_devices,
log_error("clGetProgramBuildInfo returned an empty log.\n");
else
{
log_error("Build log:\n", deviceName);
log_error("Build log for device \"%s\":\n", deviceName);
log_error("%s\n", log.c_str());
}
}