diff --git a/src/linux.cc b/src/linux.cc index 3b5547bf..84ed6f22 100644 --- a/src/linux.cc +++ b/src/linux.cc @@ -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);