summaryrefslogtreecommitdiff
path: root/src/time
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/time
parent5eb0d33ec0f08b123c5c10877d6258d05fa9453a (diff)
downloadmusl-eff62b8a96dbbffa16648048ac684c9042751fe2.tar.gz
musl-eff62b8a96dbbffa16648048ac684c9042751fe2.tar.bz2
musl-eff62b8a96dbbffa16648048ac684c9042751fe2.tar.xz
musl-eff62b8a96dbbffa16648048ac684c9042751fe2.zip
misplaced & in times() made it fail to work, and clobber the stack
Diffstat (limited to 'src/time')
-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);
}