projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix undefined behavior in ptrace
[musl]
/
src
/
linux
/
stime.c
diff --git
a/src/linux/stime.c
b/src/linux/stime.c
index
29a1ec6
..
7d0443b
100644
(file)
--- a/
src/linux/stime.c
+++ b/
src/linux/stime.c
@@
-2,7
+2,7
@@
#include <time.h>
#include <sys/time.h>
-int stime(time_t *t)
+int stime(
const
time_t *t)
{
struct timeval tv = { .tv_sec = *t, .tv_usec = 0 };
return settimeofday(&tv, (void *)0);