diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-05-28 15:23:05 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-05-28 15:23:05 +0100 |
commit | 57135f38e2bc6e743cf7849313a003aba2bcb0ae (patch) | |
tree | 748cf1173bdda9a9c3d6f1b76d0267715edfd331 /src/mem_pool.c | |
parent | abf0dacb0b9c644383526ea88321e3861848a72f (diff) | |
download | rspamd-57135f38e2bc6e743cf7849313a003aba2bcb0ae.tar.gz rspamd-57135f38e2bc6e743cf7849313a003aba2bcb0ae.zip |
Fix arguments order in system call.
Diffstat (limited to 'src/mem_pool.c')
-rw-r--r-- | src/mem_pool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem_pool.c b/src/mem_pool.c index 5ab582352..553b48fe1 100644 --- a/src/mem_pool.c +++ b/src/mem_pool.c @@ -452,7 +452,7 @@ __mutex_spin (memory_pool_mutex_t * mutex) g_atomic_int_set (&mutex->spin, MUTEX_SPIN_COUNT); return 0; } - else if (kill (0, mutex->owner) == -1) { + else if (kill (mutex->owner, 0) == -1) { /* Owner process was not found, so release lock */ g_atomic_int_set (&mutex->spin, MUTEX_SPIN_COUNT); return 0; |