mirror of
https://github.com/uutils/coreutils
synced 2024-12-16 08:12:39 +00:00
commit
ac38a2a799
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue