From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp49.i.mail.ru (smtp49.i.mail.ru [94.100.177.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 224E642EF5C for ; Fri, 19 Jun 2020 21:09:25 +0300 (MSK) From: Serge Petrenko Date: Fri, 19 Jun 2020 21:09:14 +0300 Message-Id: <20200619180914.9771-1-sergepetrenko@tarantool.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH] journal: fix typo in journal_no_write_async() List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org Branch: gh-4842-sync-replication --- src/box/journal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/box/journal.c b/src/box/journal.c index c576dfcf6..d84f960d5 100644 --- a/src/box/journal.c +++ b/src/box/journal.c @@ -37,7 +37,7 @@ journal_no_write_async(struct journal *journal, struct journal_entry *entry) { (void)journal; - assert(true); + assert(false); errno = EINVAL; diag_set(SystemError, "write_async wrong context"); @@ -49,7 +49,7 @@ journal_no_write_async(struct journal *journal, void journal_no_write_async_cb(struct journal_entry *entry) { - assert(true); + assert(false); errno = EINVAL; diag_set(SystemError, "write_async_cb wrong context"); -- 2.24.3 (Apple Git-128)