Apply 1 suggestion(s) to 1 file(s)

This commit is contained in:
Wildan Mubarok
2026-02-13 13:32:37 +00:00
parent 83a1680beb
commit 51f997b28f
+1 -1
View File
@@ -25,7 +25,7 @@ pub unsafe fn init() {
}
if let Some(name) = CStr::from_nullable_ptr(crate::platform::program_invocation_short_name)
{
logger = logger.with_process_name(name.to_str().unwrap_or("x").to_string());
logger = logger.with_process_name(name.to_str().unwrap_or("").to_string());
}
}
if logger.enable().is_err() {