From d09a2063da7d84151bd1bfa2fc0632f70175a799 Mon Sep 17 00:00:00 2001 From: Josh McKinney Date: Fri, 21 Jun 2024 08:47:42 -0700 Subject: [PATCH] fix: missed one log::warn --- src/sources/signals.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sources/signals.rs b/src/sources/signals.rs index f832b225..5877885e 100644 --- a/src/sources/signals.rs +++ b/src/sources/signals.rs @@ -305,7 +305,7 @@ impl EventSource for Signals { Ok(Some(info)) => callback(Event { info }, &mut ()), Ok(None) => break, Err(e) => { - log::warn!("Error reading from signalfd: {e}"); + warn!("Error reading from signalfd: {e}"); return Err(e.into()); } }