Commit b4f471f18e68b340e5b968e2d611b83f709a78ce

Authored by Heinrich Schuchardt
Committed by Alexander Graf
1 parent 44e7c62a82

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>

Showing 1 changed file with 1 additions and 2 deletions Side-by-side Diff

lib/efi_driver/efi_uclass.c
... ... @@ -233,8 +233,7 @@
233 233 }
234 234 ret = EFI_CALL(systab.boottime->free_pool(entry_buffer));
235 235 if (ret != EFI_SUCCESS)
236   - printf("%s(%u) %s: ERROR: Cannot free pool\n",
237   - __FILE__, __LINE__, __func__);
  236 + printf("%s: ERROR: Cannot free pool\n", __func__);
238 237  
239 238 /* Detach driver from controller */
240 239 ret = EFI_CALL(systab.boottime->close_protocol(