build-sys: minor fixes found with cppcheck

This commit is contained in:
Lennart Poettering
2013-12-25 19:00:38 +01:00
parent 25ad866460
commit 43a99a7afe
4 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -1974,7 +1974,7 @@ void exec_context_dump(ExecContext *c, FILE* f, const char *prefix) {
fprintf(f, "%sCPUAffinity:", prefix);
for (i = 0; i < c->cpuset_ncpus; i++)
if (CPU_ISSET_S(i, CPU_ALLOC_SIZE(c->cpuset_ncpus), c->cpuset))
fprintf(f, " %i", i);
fprintf(f, " %u", i);
fputs("\n", f);
}