efi_driver: simplify error message

Stating the function module is sufficient. We don't need file and line
number. Anyway the format code for the line number was incorrect (should
be %d).

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
Heinrich Schuchardt 2019-01-06 17:12:43 +01:00 committed by Alexander Graf
parent 44e7c62a82
commit b4f471f18e

View file

@ -233,8 +233,7 @@ static efi_status_t EFIAPI efi_uc_stop(
} }
ret = EFI_CALL(systab.boottime->free_pool(entry_buffer)); ret = EFI_CALL(systab.boottime->free_pool(entry_buffer));
if (ret != EFI_SUCCESS) if (ret != EFI_SUCCESS)
printf("%s(%u) %s: ERROR: Cannot free pool\n", printf("%s: ERROR: Cannot free pool\n", __func__);
__FILE__, __LINE__, __func__);
/* Detach driver from controller */ /* Detach driver from controller */
ret = EFI_CALL(systab.boottime->close_protocol( ret = EFI_CALL(systab.boottime->close_protocol(