Fix fopencookie open flags
This commit is contained in:
		@@ -41,7 +41,7 @@ bool register_tty_uart() {
 | 
				
			|||||||
		return false;
 | 
							return false;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    FILE* fp = fopencookie(NULL, "w+", (cookie_io_functions_t) {
 | 
					    FILE* fp = fopencookie(NULL, "w", (cookie_io_functions_t) {
 | 
				
			||||||
        .read = NULL,
 | 
					        .read = NULL,
 | 
				
			||||||
        .write = stdout_write,
 | 
					        .write = stdout_write,
 | 
				
			||||||
        .seek = NULL,
 | 
					        .seek = NULL,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user