Merge branch 'misc' of https://github.com/cgzones/htop into cgzones-misc

This commit is contained in:
Nathan Scott
2021-03-05 13:38:19 +11:00
5 changed files with 9 additions and 13 deletions

View File

@ -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; \
}