]> git.mxchange.org Git - flightgear.git/commitdiff
Replace cout statement with SG_LOG.
authordavid <david>
Wed, 5 Jun 2002 17:44:09 +0000 (17:44 +0000)
committerdavid <david>
Wed, 5 Jun 2002 17:44:09 +0000 (17:44 +0000)
src/Network/atc610x.cxx

index 422ee1375042b034b88f63aa6e2e4b2b3ee9915d..075c8f25d4d21a03a90c286ceede64b3b0a21c4c 100644 (file)
@@ -198,7 +198,7 @@ void ATC610xSetLamp( int fd, int channel, bool value ) {
     buf[2] = 0;
     result = write( fd, buf, 2 );
     if ( result != 2 ) {
-        cout << "Write failed" << endl;
+        SG_LOG( SG_IO, SG_ALERT,  "Write failed" );
         exit( -1 );
     }
 }