summaryrefslogtreecommitdiffstats
path: root/tdecore/kdebug.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-04-17 01:45:51 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-04-17 01:45:51 -0500
commit4d6667159ef183f83e64ed0c8479162dc5629951 (patch)
treee1987ecdc41aae0e52d89beb5e1436bb1cc69383 /tdecore/kdebug.cpp
parent43e139235d1457fed093c270b81d5e16c1922fc1 (diff)
downloadtdelibs-4d6667159ef183f83e64ed0c8479162dc5629951.tar.gz
tdelibs-4d6667159ef183f83e64ed0c8479162dc5629951.zip
Fix a number of problems with the forwarding slave and dirlister
Fix TDE HW library not detecting mounted drives
Diffstat (limited to 'tdecore/kdebug.cpp')
-rw-r--r--tdecore/kdebug.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tdecore/kdebug.cpp b/tdecore/kdebug.cpp
index 656edf6f9..d7b0372a6 100644
--- a/tdecore/kdebug.cpp
+++ b/tdecore/kdebug.cpp
@@ -298,7 +298,9 @@ static void kDebugBackend( unsigned short nLevel, unsigned int nArea, const char
}
case 2: // Shell
{
- write( 2, buf, strlen( buf ) ); //fputs( buf, stderr );
+ if (write( 2, buf, strlen( buf ) ) < 0) { //fputs( buf, stderr );
+ // ERROR
+ }
break;
}
case 3: // syslog