* time.c (sys_timer_create): The kernel returns a integer, not a
pointer for the timer id in the memory pointed to by timer_id.
printsigevent(tcp, tcp->u_arg[1]);
tprintf(", ");
} else {
- void *p;
+ int timer_id;
- if (syserror(tcp) || umove(tcp, tcp->u_arg[2], &p) < 0)
+ if (syserror(tcp) || umove(tcp, tcp->u_arg[2], &timer_id) < 0)
tprintf("%#lx", tcp->u_arg[2]);
else
- tprintf("{%p}", p);
+ tprintf("{%d}", timer_id);
}
return 0;
}