tty: Improve debug messages

This commit is contained in:
Ivan Molodetskikh
2025-10-17 17:33:23 +03:00
parent 2776005c5f
commit b38df2d1c8
+2 -2
View File
@@ -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");