aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/netliba/v6/ib_low.h
diff options
context:
space:
mode:
authorilnurkh <ilnurkh@yandex-team.com>2023-10-09 23:39:40 +0300
committerilnurkh <ilnurkh@yandex-team.com>2023-10-09 23:57:14 +0300
commite601ca03f859335d57ecff2e5aa6af234b6052ed (patch)
treede519a847e58a1b3993fcbfe05ff44cc946a3e24 /library/cpp/netliba/v6/ib_low.h
parentbbf2b6878af3854815a2c0ecb07a687071787639 (diff)
downloadydb-e601ca03f859335d57ecff2e5aa6af234b6052ed.tar.gz
Y_VERIFY->Y_ABORT_UNLESS at ^l
https://clubs.at.yandex-team.ru/arcadia/29404
Diffstat (limited to 'library/cpp/netliba/v6/ib_low.h')
-rw-r--r--library/cpp/netliba/v6/ib_low.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/netliba/v6/ib_low.h b/library/cpp/netliba/v6/ib_low.h
index e3afd9df2e..42e11ed941 100644
--- a/library/cpp/netliba/v6/ib_low.h
+++ b/library/cpp/netliba/v6/ib_low.h
@@ -13,7 +13,7 @@ namespace NNetliba {
int rv = (x); \
if (rv != 0) { \
fprintf(stderr, "check_z failed, errno = %d\n", errno); \
- Y_VERIFY(0, "check_z"); \
+ Y_ABORT_UNLESS(0, "check_z"); \
} \
}
@@ -167,7 +167,7 @@ namespace NNetliba {
//};
int rv = ibv_poll_cq(CQ, bufSize, res);
if (rv < 0) {
- Y_VERIFY(0, "ibv_poll_cq failed");
+ Y_ABORT_UNLESS(0, "ibv_poll_cq failed");
}
if (rv > 0) {
//printf("Completed wr\n");