mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Merge branch 'master' of github.com:htop-dev/htop
This commit is contained in:
@ -671,7 +671,7 @@ static void LinuxProcessList_readOomData(LinuxProcess* process, const char* dirn
|
||||
char buffer[PROC_LINE_LENGTH + 1];
|
||||
if (fgets(buffer, PROC_LINE_LENGTH, file)) {
|
||||
unsigned int oom;
|
||||
int ok = sscanf(buffer, "%32u", &oom);
|
||||
int ok = sscanf(buffer, "%u", &oom);
|
||||
if (ok >= 1) {
|
||||
process->oom = oom;
|
||||
}
|
||||
|
Reference in New Issue
Block a user