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:
Maulik V Vaghela 2018-06-08 10:32:08 +05:30 committed by Furquan Shaikh
parent c8cf591ee8
commit 82e8c69a56
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ static void *s_alloc(const char *f, size_t s)
{ {
void *data = calloc(1, s); void *data = calloc(1, s);
if (!data) { if (!data) {
fprintf(stderr, "%s: Failed to alloc mem!\n", f, s); fprintf(stderr, "%s: Failed to alloc mem!\n", f);
exit(1); exit(1);
} }
return data; return data;