diff options
author | Nathan Scott <nathans@redhat.com> | 2021-03-05 13:38:19 +1100 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2021-03-05 13:38:19 +1100 |
commit | 31e59cc60dbd1af8a3a0da2e706f816b5be9e7ba (patch) | |
tree | b8132a5513b717d192a46d8aca500e73dee97697 /linux | |
parent | b862e36ee7ce8954b120eab4fc895c9dc7c7f3db (diff) | |
parent | 13b28fa9ed283d9236ceb30f77e403cb451a7cd7 (diff) |
Merge branch 'misc' of https://github.com/cgzones/htop into cgzones-misc
Diffstat (limited to 'linux')
-rw-r--r-- | linux/LinuxProcessList.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/LinuxProcessList.c b/linux/LinuxProcessList.c index 69e5b75f..89a39732 100644 --- a/linux/LinuxProcessList.c +++ b/linux/LinuxProcessList.c @@ -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; \ } |