diff options
-rw-r--r-- | lib/efi_loader/efi_device_path_to_text.c | 2 | ||||
-rw-r--r-- | lib/efi_loader/helloworld.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_device_path_to_text.c b/lib/efi_loader/efi_device_path_to_text.c index 43554cd771b..675e80bcb8a 100644 --- a/lib/efi_loader/efi_device_path_to_text.c +++ b/lib/efi_loader/efi_device_path_to_text.c @@ -126,8 +126,10 @@ static char *dp_msging(char *s, struct efi_device_path *dp) switch (uart->stop_bits) { case 2: s += sprintf(s, "1.5)"); + break; default: s += sprintf(s, "%d)", uart->stop_bits); + break; } break; } diff --git a/lib/efi_loader/helloworld.c b/lib/efi_loader/helloworld.c index 5c8b7a96f9b..3f215e2a46e 100644 --- a/lib/efi_loader/helloworld.c +++ b/lib/efi_loader/helloworld.c @@ -181,7 +181,7 @@ efi_status_t EFIAPI efi_main(efi_handle_t handle, (void **)&device_path); if (ret != EFI_SUCCESS) { con_out->output_string - (con_out, L"Missing devide path for device handle\r\n"); + (con_out, L"Missing device path for device handle\r\n"); goto out; } con_out->output_string(con_out, L"Boot device: "); |