diff --git a/src/common/util.rs b/src/common/util.rs index 513de0847..2b75e8407 100644 --- a/src/common/util.rs +++ b/src/common/util.rs @@ -136,7 +136,7 @@ macro_rules! pipe_write( #[macro_export] macro_rules! pipe_writeln( ($fd:expr, $($args:expr),+) => ( - match write!($fd, $($args),+) { + match writeln!($fd, $($args),+) { Ok(_) => true, Err(f) => { if f.kind == ::std::io::BrokenPipe {