summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-03-12 22:53:17 -0500
committerRich Felker <dalias@aerifal.cx>2011-03-12 22:53:17 -0500
commiteff62b8a96dbbffa16648048ac684c9042751fe2 (patch)
tree090fcbad4b94e5597da740147f86b0d7b63e96e9 /src
parent5eb0d33ec0f08b123c5c10877d6258d05fa9453a (diff)
downloadmusl-eff62b8a96dbbffa16648048ac684c9042751fe2.tar.gz
misplaced & in times() made it fail to work, and clobber the stack
Diffstat (limited to 'src')
-rw-r--r--src/time/times.c2
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);
}