From 5276b13926801e36d2bab02d2a922af67437f1e0 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 24 Apr 2009 08:32:44 +0000 Subject: Cast to int --- src/rc/runscript.c | 4 ++-- 1 file 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; } -- cgit v1.2.3