X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fprocevent.c;h=ab000dbd00d331ef87952077a5e308f4b7198983;hb=4e8dab9bf35517dfc16a665baaff9e57be617015;hp=ec7f57a5e7a7b927ef1baad367df3f1bcac5f529;hpb=6d25b7bb13f384b64f0367be7d2c79e348c8843e;p=collectd.git diff --git a/src/procevent.c b/src/procevent.c index ec7f57a5..ab000dbd 100644 --- a/src/procevent.c +++ b/src/procevent.c @@ -813,9 +813,9 @@ static int read_event() { usleep(1000); continue; } else { - DEBUG("procevent plugin: Process %d status is now %s at %lu", proc_id, + DEBUG("procevent plugin: Process %d status is now %s at %llu", proc_id, (proc_status == PROCEVENT_EXITED ? "EXITED" : "STARTED"), - CDTIME_T_TO_US(cdtime())); + (unsigned long long)cdtime()); ring.buffer[ring.head][RBUF_PROC_ID_INDEX] = proc_id; ring.buffer[ring.head][RBUF_PROC_STATUS_INDEX] = proc_status;