Merge pull request #424 from ebfe/fix-build-master

tee: fix build
This commit is contained in:
Heather 2014-10-21 15:52:38 +04:00
commit ac38a2a799
2 changed files with 2 additions and 2 deletions

View file

@ -152,5 +152,5 @@ fn with_path<T>(path: &Path, cb: || -> IoResult<T>) -> IoResult<T> {
}
fn warn(message: &str) {
error!("{}: {}", os::args().get(0), message);
error!("{}: {}", os::args()[0], message);
}

View file

@ -13,7 +13,7 @@
extern crate getopts;
use std::ascii::OwnedStrAsciiExt;
use std::ascii::OwnedAsciiExt;
use std::cmp::min;
use std::from_str::FromStr;
use std::io;