summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-02-14 19:51:21 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-02-14 19:51:29 (GMT)
commit252aa6db5c9d34c554f3b970efba5d0b738c2f93 (patch)
treebb0ffe1bae5f80f78a00770882e709cdb9340ef8
parent511ac8975be6008d53e37bede9934a11e597551c (diff)
Fixed a typo that breaks compilation if DEBUG is not defined.
-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);