commit | eff62b8a96dbbffa16648048ac684c9042751fe2 | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Sat Mar 12 22:53:17 2011 -0500 |
committer | Rich Felker <dalias@aerifal.cx> | Sat Mar 12 22:53:17 2011 -0500 |
tree | 090fcbad4b94e5597da740147f86b0d7b63e96e9 | |
parent | 5eb0d33ec0f08b123c5c10877d6258d05fa9453a [diff] |
misplaced & in times() made it fail to work, and clobber the stack
diff --git a/src/time/times.c b/src/time/times.c index e9b5a82..d63cd20 100644 --- a/src/time/times.c +++ b/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); }