diff options
| author | Simon Glass <[email protected]> | 2024-09-01 19:18:12 -0600 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2024-09-12 17:36:24 +0200 |
| commit | 250f69274b2f9b27efd7195ba6d9159833586d6e (patch) | |
| tree | ae89126917430079e3244c618870b2882e751016 /lib | |
| parent | 22d3d3cd49339fb0eb70ce22276867993ada090c (diff) | |
efi_loader: Use puts() in cout so that console recording works
At present EFI output to the console uses fputs() which bypasses the
console-recording feature. This makes it impossible for tests to check
the output of an EFI app.
There doesn't seem to be any need to do this bypass, so adjust it to
simply use the puts() function.
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
Reviewed-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/efi_loader/efi_console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_console.c b/lib/efi_loader/efi_console.c index c944c10b216..cea50c748aa 100644 --- a/lib/efi_loader/efi_console.c +++ b/lib/efi_loader/efi_console.c @@ -181,7 +181,7 @@ static efi_status_t EFIAPI efi_cout_output_string( } pos = buf; utf16_utf8_strcpy(&pos, string); - fputs(stdout, buf); + puts(buf); free(buf); /* |
