projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5eb0d33
)
misplaced & in times() made it fail to work, and clobber the stack
author
Rich Felker
<dalias@aerifal.cx>
Sun, 13 Mar 2011 03:53:17 +0000
(22:53 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 13 Mar 2011 03:53:17 +0000
(22:53 -0500)
src/time/times.c
patch
|
blob
|
history
diff --git
a/src/time/times.c
b/src/time/times.c
index e9b5a8233489d3ece2eaac069db383234d073984..d63cd2031d3445a8ab1d45a7dc947f987ca10494 100644
(file)
--- 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);
}