From 9a0001623839d62d50a59060d0b653df006653d1 Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Mon, 11 Feb 2013 19:05:36 -0800 Subject: [PATCH] fix an error message in checkstack() The order of some printk arguments were reversed. Change-Id: I5e8f70b79050b92ebe8cfa5aae94b6cd1a5fd547 Signed-off-by: David Hendricks Reviewed-on: http://review.coreboot.org/2364 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/lib/stack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/stack.c b/src/lib/stack.c index 0a6637f256..1f9e009944 100644 --- a/src/lib/stack.c +++ b/src/lib/stack.c @@ -31,7 +31,7 @@ int checkstack(void *top_of_stack, int core) if (stack[0] != 0xDEADBEEF){ printk(BIOS_ERR, "Stack overrun on CPU%d." "Increase stack from current %d bytes\n", - CONFIG_STACK_SIZE, core); + core, CONFIG_STACK_SIZE); return -1; }