Implement write_async_safe for mi_console_file (PR 22299)
[external/binutils.git] / gdb / ui-file.c
index 84ad603..1751509 100644 (file)
@@ -52,7 +52,7 @@ ui_file::putstr (const char *str, int quoter)
 void
 ui_file::putstrn (const char *str, int n, int quoter)
 {
-  fputstrn_unfiltered (str, n, quoter, this);
+  fputstrn_unfiltered (str, n, quoter, fputc_unfiltered, this);
 }
 
 int