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>
Loading
Please sign in to comment