gfxtest: Re-arrange debug output to avoid dynamic allocation

Newer compilers seem to allocate space for the concatenated string,
however libhwbase' strict profile doesn't allow it.

Change-Id: Id852f8e72846a0f55518bb1fdf5ea43192f9db9b
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/libgfxinit/+/55426
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Nico Huber 2021-06-11 14:13:24 +02:00
parent 283e2a3ad2
commit 30d897167d
1 changed files with 3 additions and 4 deletions

View File

@ -630,10 +630,9 @@ is
procedure Print_Usage
is
begin
Debug.Put_Line
("Usage: " & Ada.Command_Line.Command_Name &
" <delay seconds>" &
" [(0|90|180|270)]");
Debug.Put ("Usage: ");
Debug.Put (Ada.Command_Line.Command_Name);
Debug.Put_Line (" <delay seconds> [(0|90|180|270)]");
Debug.New_Line;
end Print_Usage;