From: Vsevolod Stakhov Date: Wed, 23 Jan 2019 15:07:08 +0000 (+0000) Subject: [Minor] Core: Oops, fix long standing misprint (yeild -> yield) X-Git-Tag: 1.9.0~263 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ec88cdaeb781eb68e5423883b82dab688ab4c8bd;p=rspamd.git [Minor] Core: Oops, fix long standing misprint (yeild -> yield) --- diff --git a/config.h.in b/config.h.in index 53f5c3f81..2d7fbc096 100644 --- a/config.h.in +++ b/config.h.in @@ -80,7 +80,7 @@ #cmakedefine HAVE_SA_SIGINFO 1 #cmakedefine HAVE_SANE_SHMEM 1 #cmakedefine HAVE_SANE_TZSET 1 -#cmakedefine HAVE_SCHED_YEILD 1 +#cmakedefine HAVE_SCHED_YIELD 1 #cmakedefine HAVE_SC_NPROCESSORS_ONLN 1 #cmakedefine HAVE_SEARCH_H 1 #cmakedefine HAVE_SENDFILE 1 diff --git a/src/libutil/mem_pool.c b/src/libutil/mem_pool.c index 9a5f316cc..2f39a116d 100644 --- a/src/libutil/mem_pool.c +++ b/src/libutil/mem_pool.c @@ -853,7 +853,7 @@ __mutex_spin (rspamd_mempool_mutex_t * mutex) /* Spin */ while (nanosleep (&ts, &ts) == -1 && errno == EINTR) ; #else -# error No methods to spin are defined +#error No methods to spin are defined #endif return 1; }