From 82e8c69a56dbb9d16631a77b7971977800913af7 Mon Sep 17 00:00:00 2001 From: Maulik V Vaghela Date: Fri, 8 Jun 2018 10:32:08 +0530 Subject: sconfig/main.c: Fix number of arguments in fprintf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/26972 Reviewed-by: Kyösti Mälkki Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- util/sconfig/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/sconfig') diff --git a/util/sconfig/main.c b/util/sconfig/main.c index 7c838bfc8b..e4c940ed68 100644 --- a/util/sconfig/main.c +++ b/util/sconfig/main.c @@ -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; -- cgit v1.2.3