1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-17 18:45:10 +00:00

Use %llu instead of %Lu in the previous commit

This commit is contained in:
Pavel Labath 2011-10-02 19:29:07 +02:00
parent 4345050a6a
commit ddaa48a29e

View File

@ -2606,7 +2606,7 @@ static void process_parse_stat(struct process *process)
strncpy(procname, lparen + 1, rc);
procname[rc] = '\0';
rc = sscanf(rparen + 1, "%3s %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %lu "
"%lu %*s %*s %*s %d %*s %*s %*s %Lu %Lu", state, &process->user_time,
"%lu %*s %*s %*s %d %*s %*s %*s %llu %llu", state, &process->user_time,
&process->kernel_time, &nice_val, &process->vsize, &process->rss);
if (rc < 6) {
NORM_ERR("scaning data for %s failed, got only %d fields", procname, rc);