소스 검색

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

Rich Felker 14 년 전
부모
커밋
eff62b8a96
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);
 }