actually show warnings about suppressed output

This commit is contained in:
Ralf Jung 2018-12-19 09:03:10 +01:00
parent ecf6599051
commit 11433bf38e

View File

@ -398,7 +398,7 @@ fn emulate_foreign_item(
Err(_) => -1,
}
} else {
warn!("Ignored output to FD {}", fd);
eprintln!("Miri: Ignored output to FD {}", fd);
n as i64 // pretend it all went well
}; // now result is the value we return back to the program
this.write_scalar(