summaryrefslogtreecommitdiff
path: root/src/lib/stack.c
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@chromium.org>2013-02-11 19:05:36 -0800
committerRonald G. Minnich <rminnich@gmail.com>2013-02-12 05:05:39 +0100
commit9a0001623839d62d50a59060d0b653df006653d1 (patch)
treefae65ea11dba14f05077f631236e29d0fe106365 /src/lib/stack.c
parentca3198f5d646847fe2bf66f4a7c9dcc2e8d7a179 (diff)
fix an error message in checkstack()
The order of some printk arguments were reversed. Change-Id: I5e8f70b79050b92ebe8cfa5aae94b6cd1a5fd547 Signed-off-by: David Hendricks <dhendrix@chromium.org> Reviewed-on: http://review.coreboot.org/2364 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/lib/stack.c')
-rw-r--r--src/lib/stack.c2
1 files changed, 1 insertions, 1 deletions
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;
}