chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mount: use DEFINE_TRIVIAL_CLEANUP_FUNC
[elogind.git]
/
src
/
core
/
timer.c
diff --git
a/src/core/timer.c
b/src/core/timer.c
index 70aeedd3c76438725286eb7d0a830cd52d3c49f4..9155dfc81fccedad8cef9638513d60a034da4407 100644
(file)
--- a/
src/core/timer.c
+++ b/
src/core/timer.c
@@
-543,7
+543,7
@@
static int timer_start(Unit *u) {
/* The timer has never run before,
* make sure a stamp file exists.
*/
/* The timer has never run before,
* make sure a stamp file exists.
*/
- touch_file(t->stamp_path, true,
(usec_t) -1
, UID_INVALID, GID_INVALID, 0);
+ touch_file(t->stamp_path, true,
USEC_INFINITY
, UID_INVALID, GID_INVALID, 0);
}
t->result = TIMER_SUCCESS;
}
t->result = TIMER_SUCCESS;