summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/cbmem_console.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/cbmem_console.c b/src/lib/cbmem_console.c
index df2d1ffa96..18c3b71b4f 100644
--- a/src/lib/cbmem_console.c
+++ b/src/lib/cbmem_console.c
@@ -73,12 +73,12 @@ static u8 static_console[STATIC_CONSOLE_SIZE];
static struct cbmem_console *current_console(void)
{
- return car_sync_var(cbmem_console_p);
+ return car_get_ptr(cbmem_console_p);
}
static void current_console_set(struct cbmem_console *new_console_p)
{
- car_set_var(cbmem_console_p, new_console_p);
+ car_set_ptr(cbmem_console_p, new_console_p);
}
static int buffer_valid(struct cbmem_console *cbm_cons_p, u32 total_space)