misplaced & in times() made it fail to work, and clobber the stack
authorRich Felker <dalias@aerifal.cx>
Sun, 13 Mar 2011 03:53:17 +0000 (22:53 -0500)
committerRich Felker <dalias@aerifal.cx>
Sun, 13 Mar 2011 03:53:17 +0000 (22:53 -0500)
src/time/times.c

index e9b5a8233489d3ece2eaac069db383234d073984..d63cd2031d3445a8ab1d45a7dc947f987ca10494 100644 (file)
@@ -3,5 +3,5 @@
 
 clock_t times(struct tms *tms)
 {
-       return syscall1(__NR_times, (long)&tms);
+       return syscall1(__NR_times, (long)tms);
 }