Chromium Code Reviews| Index: runtime/vm/simulator_mips.cc |
| =================================================================== |
| --- runtime/vm/simulator_mips.cc (revision 21886) |
| +++ runtime/vm/simulator_mips.cc (working copy) |
| @@ -468,8 +468,7 @@ |
| char line_buf[256]; |
| int offset = 0; |
| bool keep_going = true; |
| - fprintf(stdout, "%s", prompt); |
| - fflush(stdout); |
| + OS::Print("%s", prompt); |
| while (keep_going) { |
| if (fgets(line_buf, sizeof(line_buf), stdin) == NULL) { |
| // fgets got an error. Just give up. |