sconfig/main.c: Fix number of arguments in fprintf
During compilation sconfig/main.c gives an error regarding number of arguments passed in fprintf. BUG=none BRANCH=none TEST=check if compilation warning has been fixed Change-Id: Ia769cc606a1e3f7e1188cd82235442493d37f664 Signed-off-by: Maulik V Vaghela <maulik.v.vaghela@intel.com> Reviewed-on: https://review.coreboot.org/26972 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
c8cf591ee8
commit
82e8c69a56
|
@ -74,7 +74,7 @@ static void *s_alloc(const char *f, size_t s)
|
|||
{
|
||||
void *data = calloc(1, s);
|
||||
if (!data) {
|
||||
fprintf(stderr, "%s: Failed to alloc mem!\n", f, s);
|
||||
fprintf(stderr, "%s: Failed to alloc mem!\n", f);
|
||||
exit(1);
|
||||
}
|
||||
return data;
|
||||
|
|
Loading…
Reference in New Issue