Explorar el Código

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

Rich Felker hace 14 años
padre
commit
eff62b8a96
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
 }