From 2a8ac69120e2d2f4f33e1e79cdafabc84fca8c97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gianguido=20Sor=C3=A0?= Date: Tue, 18 Oct 2022 11:50:11 +0200 Subject: [PATCH] status: proper format specifier for prefs errors --- services/status/src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/services/status/src/main.rs b/services/status/src/main.rs index b4f5bcf44..21bfab205 100644 --- a/services/status/src/main.rs +++ b/services/status/src/main.rs @@ -229,11 +229,11 @@ fn wrapped_main() -> ! { netmgr.connection_manager_wifi_on() }, Err(error) => { - log::error!("cannot read preference value for radio_on_on_boot: {}", error); + log::error!("cannot read preference value for radio_on_on_boot: {:?}", error); Ok(()) } }.unwrap_or_else(|error| { - log::error!("cannot set radio status: {}", error) + log::error!("cannot set radio status: {:?}", error) }); match prefs.connect_known_networks_on_boot() { @@ -243,11 +243,11 @@ fn wrapped_main() -> ! { netmgr.connection_manager_stop() }, Err(error) => { - log::error!("cannot read preference value for connect_known_networks_on_boot: {}", error); + log::error!("cannot read preference value for connect_known_networks_on_boot: {:?}", error); Ok(()) } }.unwrap_or_else(|error| { - log::error!("cannot set radio status: {}", error) + log::error!("cannot set radio status: {:?}", error) }); // screensize is controlled by the GAM, it's set in main.rs near the top