]> git.mxchange.org Git - flightgear.git/commitdiff
do_save: s/reading/writing/ in the error message
authormfranz <mfranz>
Sun, 1 Feb 2009 23:44:36 +0000 (23:44 +0000)
committerTim Moore <timoore@redhat.com>
Sun, 1 Feb 2009 23:59:05 +0000 (00:59 +0100)
src/Main/fg_commands.cxx

index cf5efb8a5df4dc4e0a9d3fe3c3ee6edf99b414c3..58546014d1fdb588fb621cf66d6e8eb39f7ddccf 100644 (file)
@@ -357,7 +357,7 @@ do_save (const SGPropertyNode * arg)
         file += ".sav";
 
     if (!fgValidatePath(file.c_str(), false)) {
-        SG_LOG(SG_IO, SG_ALERT, "save: reading '" << file << "' denied "
+        SG_LOG(SG_IO, SG_ALERT, "save: writing '" << file << "' denied "
                 "(unauthorized access)");
         return false;
     }