From 3a89a77e79407d0d638ddf983ee580410cf807c5 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期二, 04 八月 2020 15:56:12 +0800 Subject: [PATCH] fix sendto --- src/util/sem_util.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/sem_util.c b/src/util/sem_util.c index c73d1e1..bf08adf 100644 --- a/src/util/sem_util.c +++ b/src/util/sem_util.c @@ -81,7 +81,7 @@ while (semop(semId, &sops, 1) == -1) if (errno != EINTR) { - // err_msg(errno, "SemUtil::dec"); + err_msg(errno, "SemUtil::dec"); return -1; } @@ -97,7 +97,7 @@ while (semop(semId, &sops, 1) == -1) if (errno != EINTR) { - // err_msg(errno, "SemUtil::dec_nowait"); + err_msg(errno, "SemUtil::dec_nowait"); return -1; } -- Gitblit v1.8.0