Explorar el Código

Fix fopencookie open flags

Vadim Kaushan hace 5 años
padre
commit
d376982b4c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      core/tty_uart.c

+ 1 - 1
core/tty_uart.c

@@ -41,7 +41,7 @@ bool register_tty_uart() {
 		return false;
 	}
 
-    FILE* fp = fopencookie(NULL, "w+", (cookie_io_functions_t) {
+    FILE* fp = fopencookie(NULL, "w", (cookie_io_functions_t) {
         .read = NULL,
         .write = stdout_write,
         .seek = NULL,