]> Shamusworld >> Repos - apple2/blobdiff - src/log.cpp
Docs were missing GPLv3. Thanks to schampailler for the heads up. :-)
[apple2] / src / log.cpp
index 6994cc5ac1d1649838e7938fdc052e8a0437c4b1..0c20bf434e0e9dace270f72fb5dfd253e8b56a10 100644 (file)
@@ -7,7 +7,7 @@
 // JLH = James Hammons <jlhamm@acm.org>
 //
 // WHO  WHEN        WHAT
-// ---  ----------  ------------------------------------------------------------
+// ---  ----------  -----------------------------------------------------------
 // JLH  01/03/2006  Moved includes out of header file for faster compilation
 //
 
@@ -27,7 +27,7 @@ static uint32_t logSize = 0;
 
 bool InitLog(const char * path)
 {
-       log_stream = fopen(path, "wrt");
+       log_stream = fopen(path, "w");
 
        if (log_stream == NULL)
                return false;