Commit 3aaf175a authored by Tim Wickberg's avatar Tim Wickberg
Browse files

Cleanup format in debug message in task_cgroup_init.

- %lu and casting to unsigned long will truncate values > 2TB
- Format of %.4g for (unsigned long) totalram is incorrect. And casting to
  (unsigned long) is incorrect anyways.
- %lu for memory_swappiness was incorrect, this is (uint64_t)
  not (unsigned long)
- don't print memory_swappiness as hex, instead indicate if set or not, and
  avoid printing NO_VAL64 if not set
- fix spacing and spread out the ternary operators
parent 9514aaf6
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment