misplaced & in times() made it fail to work, and clobber the stack
This commit is contained in:
parent
5eb0d33ec0
commit
eff62b8a96
1 changed files with 1 additions and 1 deletions
|
|
@ -3,5 +3,5 @@
|
||||||
|
|
||||||
clock_t times(struct tms *tms)
|
clock_t times(struct tms *tms)
|
||||||
{
|
{
|
||||||
return syscall1(__NR_times, (long)&tms);
|
return syscall1(__NR_times, (long)tms);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue