summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/arch/processor.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3c4a6c8..d96c0ea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+17-02-14 Cyrille Bagard <nocbos@gmail.com>
+
+ * src/arch/processor.c:
+ Fix a typo that breaks compilation if DEBUG is not defined.
+
17-02-08 Cyrille Bagard <nocbos@gmail.com>
* src/analysis/Makefile.am:
diff --git a/src/arch/processor.c b/src/arch/processor.c
index 087342c..ba46e73 100644
--- a/src/arch/processor.c
+++ b/src/arch/processor.c
@@ -130,7 +130,7 @@ static void g_arch_processor_class_init(GArchProcessorClass *klass)
static void g_arch_processor_init(GArchProcessor *proc)
{
#ifndef DEBUG
- g_atomic_int_set(&proc->loacked, 0);
+ g_atomic_int_set(&proc->locked, 0);
#endif
g_mutex_init(&proc->mutex);