diff options
Diffstat (limited to 'mm/memory-tiers.c')
-rw-r--r-- | mm/memory-tiers.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/memory-tiers.c b/mm/memory-tiers.c index 4775b3a3dabe..af9f5b0d6f1b 100644 --- a/mm/memory-tiers.c +++ b/mm/memory-tiers.c @@ -921,8 +921,7 @@ bool numa_demotion_enabled = false; static ssize_t demotion_enabled_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) { - return sysfs_emit(buf, "%s\n", - numa_demotion_enabled ? "true" : "false"); + return sysfs_emit(buf, "%s\n", str_true_false(numa_demotion_enabled)); } static ssize_t demotion_enabled_store(struct kobject *kobj, |