summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-11-15 09:51:34 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-11-18 16:02:28 +0000
commitb1bcd5bb8c67c362cd0528689d309cd7c7864393 (patch)
tree3d5daedb499b7112d22ae1bd790be55c0dd7fd11
parent799c3219146c8d246ef95f1fdb83dc7bc1f2be61 (diff)
lib/malloc.c: Fix log messages
It is no longer necessary to explicitly add "Warning" in front of BIOS_WARNING message. Change-Id: I6e4341555a3b03a531bd94ba5e36cbcadda9c663 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69624 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
-rw-r--r--src/lib/malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/malloc.c b/src/lib/malloc.c
index 8ad038af5f..2c7321915b 100644
--- a/src/lib/malloc.c
+++ b/src/lib/malloc.c
@@ -72,7 +72,7 @@ void free(void *ptr)
return;
if (ptr < (void *)&_heap || ptr >= free_mem_end_ptr) {
- printk(BIOS_WARNING, "Warning - Pointer passed to %s is not "
+ printk(BIOS_WARNING, "Pointer passed to %s is not "
"pointing to the heap\n", __func__);
return;
}