mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Merge branch 'misc' of https://github.com/cgzones/htop into cgzones-misc
This commit is contained in:
@ -1546,7 +1546,7 @@ static inline void LinuxProcessList_scanMemoryInfo(ProcessList* this) {
|
||||
if (String_startsWith(buffer, label)) { \
|
||||
memory_t parsed_; \
|
||||
if (sscanf(buffer + strlen(label), "%llu kB", &parsed_) == 1) { \
|
||||
variable = parsed_; \
|
||||
(variable) = parsed_; \
|
||||
} \
|
||||
break; \
|
||||
}
|
||||
|
Reference in New Issue
Block a user