aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2025-10-17 17:33:23 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2025-10-17 17:33:27 +0300
commitb38df2d1c87929e3f6fa78b1caefbcef5b9323a0 (patch)
tree7413f995352ca1e1c78b6a3cde64dbde44a426f8
parent2776005c5fc4fbb85636672213b8b84a319dfb01 (diff)
downloadniri-b38df2d1c87929e3f6fa78b1caefbcef5b9323a0.tar.gz
niri-b38df2d1c87929e3f6fa78b1caefbcef5b9323a0.tar.bz2
niri-b38df2d1c87929e3f6fa78b1caefbcef5b9323a0.zip
tty: Improve debug messages
-rw-r--r--src/backend/tty.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/tty.rs b/src/backend/tty.rs
index 08aef704..486c3c1b 100644
--- a/src/backend/tty.rs
+++ b/src/backend/tty.rs
@@ -508,7 +508,7 @@ impl Tty {
path: &Path,
niri: &mut Niri,
) -> anyhow::Result<()> {
- debug!("device added: {device_id} {path:?}");
+ debug!("adding device: {device_id} {path:?}");
let node = DrmNode::from_dev_id(device_id)?;
@@ -746,7 +746,7 @@ impl Tty {
}
fn device_removed(&mut self, device_id: dev_t, niri: &mut Niri) {
- debug!("device removed: {device_id}");
+ debug!("removing device: {device_id}");
let Ok(node) = DrmNode::from_dev_id(device_id) else {
warn!("error creating DrmNode");