diff options
Diffstat (limited to 'mm/mempolicy.c')
-rw-r--r-- | mm/mempolicy.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/mm/mempolicy.c b/mm/mempolicy.c index c75f4dcec808..4721046a134a 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c | |||
@@ -2817,8 +2817,7 @@ void mpol_to_str(char *buffer, int maxlen, struct mempolicy *pol) | |||
2817 | p += snprintf(p, buffer + maxlen - p, "relative"); | 2817 | p += snprintf(p, buffer + maxlen - p, "relative"); |
2818 | } | 2818 | } |
2819 | 2819 | ||
2820 | if (!nodes_empty(nodes)) { | 2820 | if (!nodes_empty(nodes)) |
2821 | p += snprintf(p, buffer + maxlen - p, ":"); | 2821 | p += scnprintf(p, buffer + maxlen - p, ":%*pbl", |
2822 | p += nodelist_scnprintf(p, buffer + maxlen - p, nodes); | 2822 | nodemask_pr_args(&nodes)); |
2823 | } | ||
2824 | } | 2823 | } |