]> git.mxchange.org Git - simgear.git/blobdiff - simgear/io/sg_serial.cxx
Use the new SGPath::create_dir function
[simgear.git] / simgear / io / sg_serial.cxx
index 6145709294b419ac55254dde59e42cd0cc7ca1c0..f6eb07c0fd30153a6ae872011b766cc1ad5ac425 100644 (file)
@@ -2,7 +2,7 @@
 //
 // Written by Curtis Olson, started November 1999.
 //
-// Copyright (C) 1999  Curtis L. Olson - curt@flightgear.org
+// Copyright (C) 1999  Curtis L. Olson - http://www.flightgear.org/~curt
 //
 // This program is free software; you can redistribute it and/or
 // modify it under the terms of the GNU General Public License as
@@ -133,7 +133,7 @@ int SGSerial::write( const char *buf, const int length ) {
     int result = port.write_port( buf, length );
 
     if ( result != length ) {
-       SG_LOG( SG_IO, SG_ALERT, "Error writing data: " << device );
+       SG_LOG( SG_IO, SG_WARN, "Error writing data: " << device );
     }
 
     return result;