Describe interval units
This commit is contained in:
parent
ade85d4bd8
commit
e643a7fdd5
@ -520,8 +520,8 @@ svc_wait(const char *svc)
|
|||||||
return false;
|
return false;
|
||||||
timespecsub(&warn, &interval, &warn);
|
timespecsub(&warn, &interval, &warn);
|
||||||
if (warn.tv_sec <= 0) {
|
if (warn.tv_sec <= 0) {
|
||||||
ewarn("%s: waiting for %s (%zu)", applet, svc,
|
ewarn("%s: waiting for %s (%zu seconds)",
|
||||||
timeout.tv_sec);
|
applet, svc, timeout.tv_sec);
|
||||||
warn.tv_sec = WARN_TIMEOUT;
|
warn.tv_sec = WARN_TIMEOUT;
|
||||||
warn.tv_nsec = 0;
|
warn.tv_nsec = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user