From 46bcf49291874c5a6b5b34ad6413c5a0f7725f4c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 28 Nov 2014 20:52:55 +0100 Subject: treewide: convert some left-over (usec_t) -1 to USEC_INFINITY --- src/core/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/timer.c b/src/core/timer.c index 70aeedd3c7..9155dfc81f 100644 --- 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. */ - 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; -- cgit v1.2.3-54-g00ecf