From a7918b108dd336f9ada1298e52c9c5d36cdb3362 Mon Sep 17 00:00:00 2001 From: Anhad Singh Date: Mon, 22 Dec 2025 19:06:10 +1100 Subject: [PATCH] misc(ld_so/start): consistent log formatting Signed-off-by: Anhad Singh --- src/ld_so/start.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ld_so/start.rs b/src/ld_so/start.rs index 1cd8f1ea12..938a09b820 100644 --- a/src/ld_so/start.rs +++ b/src/ld_so/start.rs @@ -269,8 +269,8 @@ pub unsafe extern "C" fn relibc_ld_so_start(sp: &'static mut Stack, ld_entry: us let entry = match linker.load_program(&path, base_addr) { Ok(entry) => entry, Err(err) => { - eprintln!("ld.so: failed to link '{}': {:?}", path, err); - eprintln!("ld.so: enable debug output with `LD_DEBUG=all` for more information"); + eprintln!("[ld.so]: failed to link '{}': {:?}", path, err); + eprintln!("[ld.so]: enable debug output with `LD_DEBUG=all` for more information"); unistd::_exit(1); } }; @@ -279,7 +279,7 @@ pub unsafe extern "C" fn relibc_ld_so_start(sp: &'static mut Stack, ld_entry: us tcb.mspace = ALLOCATOR.get(); } if is_manual { - eprintln!("ld.so: entry '{}': {:#x}", path, entry); + eprintln!("[ld.so]: entry '{}': {:#x}", path, entry); } entry }