diff options
author | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:33 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:33 +0200 |
commit | f75ab6d2c11e8a8e18191b087564aedebbeb96c5 (patch) | |
tree | 2a046e11678e798f3f9c7f7af4f9ac205c8d2731 /Affinity.c | |
parent | 2004bbc3ef28ada3acca05f5d5fa9108121a6784 (diff) | |
download | debian_htop-f75ab6d2c11e8a8e18191b087564aedebbeb96c5.tar.gz debian_htop-f75ab6d2c11e8a8e18191b087564aedebbeb96c5.tar.bz2 debian_htop-f75ab6d2c11e8a8e18191b087564aedebbeb96c5.zip |
Imported Upstream version 1.0.3upstream/1.0.3
Diffstat (limited to 'Affinity.c')
-rw-r--r-- | Affinity.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -20,9 +20,9 @@ typedef struct Affinity_ { }*/ Affinity* Affinity_new() { - Affinity* this = calloc(sizeof(Affinity), 1); + Affinity* this = calloc(1, sizeof(Affinity)); this->size = 8; - this->cpus = calloc(sizeof(int), this->size); + this->cpus = calloc(this->size, sizeof(int)); return this; } |