diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2021-03-02 22:00:44 +0100 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2021-03-02 22:03:20 +0100 |
commit | 13b28fa9ed283d9236ceb30f77e403cb451a7cd7 (patch) | |
tree | 8229e44def31227fba9fc5fd7a0927c2c0c0982c /linux | |
parent | 979aca98cc74d0d9420a63d148a1f9e8e9f89976 (diff) |
Enclose macro argument in parentheses
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; \ } |