Browse Source

misplaced & in times() made it fail to work, and clobber the stack

Rich Felker 14 years ago
parent
commit
eff62b8a96
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/time/times.c

+ 1 - 1
src/time/times.c

@@ -3,5 +3,5 @@
 
 clock_t times(struct tms *tms)
 {
-	return syscall1(__NR_times, (long)&tms);
+	return syscall1(__NR_times, (long)tms);
 }