about summary refs log tree commit diff
path: root/src/linux/stime.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/stime.c')
-rw-r--r--src/linux/stime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/stime.c b/src/linux/stime.c
index 29a1ec64..7d0443ba 100644
--- 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);