From c3d0da09d6c49061efc43ce9707c5952ebefdae3 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Mon, 02 May 2005 17:31:47 +0000 Subject: DEBUG: show why node wasn't recognized --- (limited to 'libopie2') diff --git a/libopie2/opiecore/oinputsystem.cpp b/libopie2/opiecore/oinputsystem.cpp index a2306ca..f9078d6 100644 --- a/libopie2/opiecore/oinputsystem.cpp +++ b/libopie2/opiecore/oinputsystem.cpp @@ -71,8 +71,8 @@ void OInputSystem::synchronize() { QString absPath = devInput.absFilePath( *it ); bool isValid = OInputDevice::isValid( absPath ); - qDebug( "OInputSystem::synchronize() - checking if '%s' is a valid input system node... '%s'", - (const char*) absPath, isValid ? "yes" : "no" ); + qDebug( "OInputSystem::synchronize() - checking if '%s' is a valid input system node... '%s' [%s]", + (const char*) absPath, isValid ? "yes" : "no", isValid ? "(ok)" : strerror( errno ) ); if ( isValid ) _devices.insert( *it, new OInputDevice( this, absPath ) ); } } -- cgit v0.9.0.2