diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-12-28 12:41:14 +0100 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2019-02-13 09:40:05 +0100 |
commit | c6d876fa2d7f9fde0fae9203ec1f047df9bc1f59 (patch) | |
tree | db895e694312c87e2af2eda50cc399ba168ebd08 /cmd/bootefi.c | |
parent | 23f5f4abf7d04690e43ab5c58f0b6d5b955ffd97 (diff) |
efi_loader: avoid unnecessary pointer to long conversion
debug() support supports %p to print pointers.
The debug message is unique. So there is not need to write a possibly
distracting line number.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'cmd/bootefi.c')
-rw-r--r-- | cmd/bootefi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/bootefi.c b/cmd/bootefi.c index cc0f2923dc..7ab08382fa 100644 --- a/cmd/bootefi.c +++ b/cmd/bootefi.c @@ -428,7 +428,7 @@ static efi_status_t do_bootefi_exec(void *efi, "{ro,boot}(blob)0000000000000000"); /* Call our payload! */ - debug("%s:%d Jumping to 0x%lx\n", __func__, __LINE__, (long)entry); + debug("%s: Jumping to 0x%p\n", __func__, entry); if (setjmp(&image_obj->exit_jmp)) { ret = image_obj->exit_status; |