summaryrefslogtreecommitdiffstats
path: root/src/console/vsprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/vsprintf.c')
-rw-r--r--src/console/vsprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/vsprintf.c b/src/console/vsprintf.c
index c4c9111..090063c 100644
--- a/src/console/vsprintf.c
+++ b/src/console/vsprintf.c
@@ -24,7 +24,7 @@
#include <smp/spinlock.h>
#include <console/vtxprintf.h>
-static spinlock_t vsprintf_lock = SPIN_LOCK_UNLOCKED;
+DECLARE_SPIN_LOCK(vsprintf_lock)
static char *str_buf;
OpenPOWER on IntegriCloud