mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-31 05:15:34 +00:00
selftests/nolibc: make result alignment more robust
Move the check of the existing length into the function so it can't be forgotten by the caller. Also hardcode the padding character as only spaces are ever used. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
This commit is contained in:
parent
544102458a
commit
b9e64724cd
1 changed files with 10 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue