[CRIU] [PATCH] timer: use a correct value for dumping usecs
Pavel Tikhomirov
snorcht at gmail.com
Mon May 6 15:12:14 EDT 2013
---
parasite-syscall.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/parasite-syscall.c b/parasite-syscall.c
index 8457c62..7ad76d6 100644
--- a/parasite-syscall.c
+++ b/parasite-syscall.c
@@ -411,7 +411,7 @@ static int dump_one_timer(struct itimerval *v, int fd)
ie.isec = v->it_interval.tv_sec;
ie.iusec = v->it_interval.tv_usec;
ie.vsec = v->it_value.tv_sec;
- ie.vusec = v->it_value.tv_sec;
+ ie.vusec = v->it_value.tv_usec;
return pb_write_one(fd, &ie, PB_ITIMERS);
}
--
1.7.9.5
More information about the CRIU
mailing list