sched/walt: append carriage return to not_preferred output

When reading from a sysnode, the output should have carriage
return appended to it.

Change-Id: I5918b241023c3b577759e7e09871a45b27f886c6
Signed-off-by: Stephen Dickey <quic_dickey@quicinc.com>
This commit is contained in:
Stephen Dickey 2022-10-26 09:45:28 -07:00
parent bc3ed0087b
commit b0964ea35d

View File

@ -394,6 +394,7 @@ static ssize_t show_not_preferred(const struct cluster_data *state, char *buf)
count += scnprintf(buf + count, PAGE_SIZE - count,
"%u ", c->not_preferred);
}
count += scnprintf(buf + count, PAGE_SIZE - count, "\n");
spin_unlock_irqrestore(&state_lock, flags);
return count;