[coreboot-gerrit] Change in coreboot[master]: sconfig/main.c: Fix number of arguments in fprintf

Maulik V Vaghela (Code Review) gerrit at coreboot.org
Fri Jun 8 07:07:04 CEST 2018


Maulik V Vaghela has uploaded this change for review. ( https://review.coreboot.org/26972


Change subject: sconfig/main.c: Fix number of arguments in fprintf
......................................................................

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 at intel.com>
---
M util/sconfig/main.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/72/26972/1

diff --git a/util/sconfig/main.c b/util/sconfig/main.c
index 7c838bf..e4c940e 100644
--- a/util/sconfig/main.c
+++ b/util/sconfig/main.c
@@ -74,7 +74,7 @@
 {
 	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;

-- 
To view, visit https://review.coreboot.org/26972
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia769cc606a1e3f7e1188cd82235442493d37f664
Gerrit-Change-Number: 26972
Gerrit-PatchSet: 1
Gerrit-Owner: Maulik V Vaghela <maulik.v.vaghela at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180608/1d05df68/attachment.html>


More information about the coreboot-gerrit mailing list