From: david Date: Wed, 5 Jun 2002 17:44:09 +0000 (+0000) Subject: Replace cout statement with SG_LOG. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0387b3a4ec2e2033882f2dde189025a221e5938e;p=flightgear.git Replace cout statement with SG_LOG. --- diff --git a/src/Network/atc610x.cxx b/src/Network/atc610x.cxx index 422ee1375..075c8f25d 100644 --- a/src/Network/atc610x.cxx +++ b/src/Network/atc610x.cxx @@ -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 ); } }