mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-27 04:32:55 +00:00
Use %llu instead of %Lu in the previous commit
This commit is contained in:
parent
4345050a6a
commit
ddaa48a29e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user