1
0
Fork 0

Replace cout statement with SG_LOG.

This commit is contained in:
david 2002-06-05 17:44:09 +00:00
parent 384c3c254a
commit 0387b3a4ec

View 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 );
}
}