aboutsummaryrefslogtreecommitdiff
path: root/count.c
diff options
context:
space:
mode:
Diffstat (limited to 'count.c')
-rw-r--r--count.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/count.c b/count.c
index 1af93361..f5e4f12f 100644
--- a/count.c
+++ b/count.c
@@ -77,7 +77,7 @@ count_syscall(struct tcb *tcp, const struct timeval *syscall_exiting_tv)
/* Initialize it. */
struct itimerval it;
- memset(&it, 0, sizeof it);
+ memset(&it, 0, sizeof(it));
it.it_interval.tv_usec = 1;
setitimer(ITIMER_REAL, &it, NULL);
getitimer(ITIMER_REAL, &it);