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>
parent
54410245
Please register or sign in to comment