diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-03-12 22:53:17 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-03-12 22:53:17 -0500 |
commit | eff62b8a96dbbffa16648048ac684c9042751fe2 (patch) | |
tree | 090fcbad4b94e5597da740147f86b0d7b63e96e9 | |
parent | 5eb0d33ec0f08b123c5c10877d6258d05fa9453a (diff) | |
download | musl-eff62b8a96dbbffa16648048ac684c9042751fe2.tar.gz musl-eff62b8a96dbbffa16648048ac684c9042751fe2.tar.xz musl-eff62b8a96dbbffa16648048ac684c9042751fe2.zip |
misplaced & in times() made it fail to work, and clobber the stack
-rw-r--r-- | src/time/times.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time/times.c b/src/time/times.c index e9b5a823..d63cd203 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); } |