diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2018-04-09 19:25:29 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-04-11 09:30:43 +0000 |
commit | 2e744e0fa56e07a2103e1a69ddf3e88dfb43fe08 (patch) | |
tree | afed5dcfeb7cfe74a4a644068d485fa54c48c1ac /src/cpu | |
parent | 7b37a08b8269cda99d8093a20fc621fd7aae5ea5 (diff) |
cpu/x86/mtrr: Fix broken output ("indexis")
The missing space resulted in the following broken output:
> ERROR: Not enough MTRRs available! MTRR indexis 10 with 10 MTTRs in
total.
Put the string on one line to make it obvious where the spaces should be
and to help users of grep.
Change-Id: Ib9e8109d88c1bf38e7dda3dbf1c8d47fb0d23265
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/25567
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/x86/mtrr/mtrr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpu/x86/mtrr/mtrr.c b/src/cpu/x86/mtrr/mtrr.c index 13fe85f5a6..532dd5d698 100644 --- a/src/cpu/x86/mtrr/mtrr.c +++ b/src/cpu/x86/mtrr/mtrr.c @@ -427,8 +427,7 @@ static void prep_var_mtrr(struct var_mtrr_state *var_state, if (var_state->mtrr_index >= bios_mtrrs) printk(BIOS_WARNING, "Taking a reserved OS MTRR.\n"); if (var_state->mtrr_index >= total_mtrrs) { - printk(BIOS_ERR, "ERROR: Not enough MTRRs available! MTRR index" - "is %d with %d MTTRs in total.\n", + printk(BIOS_ERR, "ERROR: Not enough MTRRs available! MTRR index is %d with %d MTTRs in total.\n", var_state->mtrr_index, total_mtrrs); return; } |