aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rc/runscript.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rc/runscript.c b/src/rc/runscript.c
index a9f75a95..b4ce0f88 100644
--- a/src/rc/runscript.c
+++ b/src/rc/runscript.c
@@ -520,8 +520,8 @@ svc_wait(const char *svc)
return false;
timespecsub(&warn, &interval, &warn);
if (warn.tv_sec <= 0) {
- ewarn("%s: waiting for %s (%zu seconds)",
- applet, svc, timeout.tv_sec);
+ ewarn("%s: waiting for %s (%d seconds)",
+ applet, svc, (int)timeout.tv_sec);
warn.tv_sec = WARN_TIMEOUT;
warn.tv_nsec = 0;
}