aboutsummaryrefslogtreecommitdiffstats
path: root/AffinityPanel.c
diff options
context:
space:
mode:
authorGraham Inggs <ginggs@debian.org>2018-02-05 14:48:53 +0200
committerGraham Inggs <ginggs@debian.org>2018-02-05 14:48:53 +0200
commit0bffedf65c053726a3a09be93c5eabfc113550fc (patch)
tree8c14970f1890c710df6f72aaa85781d62cee11e5 /AffinityPanel.c
parentba3d665468e9752a81a50bb2df7639950e0a3c77 (diff)
parent2ee50d030178cede83eb9d0005fbc19f819d30fe (diff)
downloaddebian_htop-0bffedf65c053726a3a09be93c5eabfc113550fc.tar.gz
debian_htop-0bffedf65c053726a3a09be93c5eabfc113550fc.tar.bz2
debian_htop-0bffedf65c053726a3a09be93c5eabfc113550fc.zip
Merge tag 'upstream/2.1.0'
Upstream version 2.1.0
Diffstat (limited to 'AffinityPanel.c')
-rw-r--r--AffinityPanel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/AffinityPanel.c b/AffinityPanel.c
index 03bfa75..d9f1612 100644
--- a/AffinityPanel.c
+++ b/AffinityPanel.c
@@ -52,7 +52,7 @@ Panel* AffinityPanel_new(ProcessList* pl, Affinity* affinity) {
int curCpu = 0;
for (int i = 0; i < pl->cpuCount; i++) {
char number[10];
- snprintf(number, 9, "%d", Settings_cpuId(pl->settings, i));
+ xSnprintf(number, 9, "%d", Settings_cpuId(pl->settings, i));
bool mode;
if (curCpu < affinity->used && affinity->cpus[curCpu] == i) {
mode = true;

© 2014-2024 Faster IT GmbH | imprint | privacy policy