summaryrefslogtreecommitdiff
path: root/src/rc/runscript.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-04-24 08:32:44 +0000
committerRoy Marples <roy@marples.name>2009-04-24 08:32:44 +0000
commit5276b13926801e36d2bab02d2a922af67437f1e0 (patch)
tree1742bde6f26d827393aace3519c471f790dbd887 /src/rc/runscript.c
parente7b35a8f150a64499d9974e40787e5f830e78585 (diff)
downloadopenrc-5276b13926801e36d2bab02d2a922af67437f1e0.tar.gz
openrc-5276b13926801e36d2bab02d2a922af67437f1e0.tar.bz2
openrc-5276b13926801e36d2bab02d2a922af67437f1e0.tar.xz
Cast to int
Diffstat (limited to 'src/rc/runscript.c')
-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 a9f75a9..b4ce0f8 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;
}