4
Fork 0
This commit is contained in:
R3ABM Artem 2016-08-06 14:33:22 +03:00
parent 52422cebf0
commit fb9288ef58

View file

@ -775,7 +775,7 @@ int main(int argc, const char* argv[])
if (event->data.fd == timerHandle1) if (event->data.fd == timerHandle1)
{ {
uint64_t information; uint64_t information;
read(timerHandle, &information, sizeof(information)); read(timerHandle1, &information, sizeof(information));
clock_gettime(CLOCK_MONOTONIC, &now); clock_gettime(CLOCK_MONOTONIC, &now);
#endif #endif
@ -815,7 +815,7 @@ int main(int argc, const char* argv[])
if (event->data.fd == timerHandle2) if (event->data.fd == timerHandle2)
{ {
uint64_t information; uint64_t information;
read(timerHandle, &information, sizeof(information)); read(timerHandle2, &information, sizeof(information));
#endif #endif
#ifdef __MACH__ #ifdef __MACH__
if ((event->ident == 2) && if ((event->ident == 2) &&