1 --- lasagna/tain/tain_now.c.orig 2013-01-11 12:10:32.000000000 -0300
2 +++ lasagna/tain/tain_now.c 2017-05-18 23:45:24.000000000 -0300
5 tain_now(struct tain *t)
10 - gettimeofday(&now, NULL);
11 + clock_gettime(CLOCK_REALTIME, &now);
12 tain_load_utc(t, now.tv_sec);
13 - t->nsec = (1000 * now.tv_usec) + 500;
14 + t->nsec = now.tv_nsec;