diff options
author | Roy Marples <roy@marples.name> | 2009-04-24 08:32:44 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2009-04-24 08:32:44 +0000 |
commit | 5276b13926801e36d2bab02d2a922af67437f1e0 (patch) | |
tree | 1742bde6f26d827393aace3519c471f790dbd887 /src | |
parent | e7b35a8f150a64499d9974e40787e5f830e78585 (diff) |
Cast to int
Diffstat (limited to 'src')
-rw-r--r-- | src/rc/runscript.c | 4 |
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; } |