summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorMaulik V Vaghela <maulik.v.vaghela@intel.com>2018-06-08 10:32:08 +0530
committerFurquan Shaikh <furquan@google.com>2018-06-08 06:17:53 +0000
commit82e8c69a56dbb9d16631a77b7971977800913af7 (patch)
treee67349874455dbb35d96cfad280b49b301149865 /util
parentc8cf591ee8ff2513b7a5c9d727b7428aabc1fabd (diff)
downloadcoreboot-82e8c69a56dbb9d16631a77b7971977800913af7.tar.xz
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>
Diffstat (limited to 'util')
-rw-r--r--util/sconfig/main.c2
1 files changed, 1 insertions, 1 deletions
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;