From fb9288ef5850409477ce5a601d4e82c1bdb8f708 Mon Sep 17 00:00:00 2001 From: Artem Prilutskiy Date: Sat, 6 Aug 2016 14:33:22 +0300 Subject: [PATCH] .. --- CronosAgent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CronosAgent.c b/CronosAgent.c index b0e6185..ebe76c6 100644 --- a/CronosAgent.c +++ b/CronosAgent.c @@ -775,7 +775,7 @@ int main(int argc, const char* argv[]) if (event->data.fd == timerHandle1) { uint64_t information; - read(timerHandle, &information, sizeof(information)); + read(timerHandle1, &information, sizeof(information)); clock_gettime(CLOCK_MONOTONIC, &now); #endif @@ -815,7 +815,7 @@ int main(int argc, const char* argv[]) if (event->data.fd == timerHandle2) { uint64_t information; - read(timerHandle, &information, sizeof(information)); + read(timerHandle2, &information, sizeof(information)); #endif #ifdef __MACH__ if ((event->ident == 2) &&