* util.c (tv_mul): Multiply tv_usec properly.
Patch from Cai Fei <caifei@cn.fujitsu.com>.
+2007-06-28 Dmitry V. Levin <ldv@altlinux.org>
+
+ * util.c (tv_mul): Multiply tv_usec properly.
+ Patch from Cai Fei <caifei@cn.fujitsu.com>.
+
2007-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
Never interrupt when the attached traced process would be left stopped.
int n;
{
tv->tv_usec = a->tv_usec * n;
- tv->tv_sec = a->tv_sec * n + a->tv_usec / 1000000;
+ tv->tv_sec = a->tv_sec * n + tv->tv_usec / 1000000;
tv->tv_usec %= 1000000;
}