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>
diff --git a/gfxtest/hw-gfx-gma-gfx_test.adb b/gfxtest/hw-gfx-gma-gfx_test.adb
index e5bc393..86ec44b 100644
--- a/gfxtest/hw-gfx-gma-gfx_test.adb
+++ b/gfxtest/hw-gfx-gma-gfx_test.adb
@@ -630,10 +630,9 @@
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;