diff --git a/src/lib/fs.rs b/src/lib/fs.rs index 0d9a0242207..915dbd9cd3b 100644 --- a/src/lib/fs.rs +++ b/src/lib/fs.rs @@ -127,9 +127,8 @@ fn make_dir(p: path, mode: int) -> bool { #[cfg(target_os = "win32")] fn mkdir(_p: path, _mode: int) -> bool { // FIXME: turn mode into something useful? - let noctx = ptr::null(); ret str::as_buf(_p, {|buf| - os::kernel32::CreateDirectory(buf, noctx) + os::kernel32::CreateDirectory(buf, ptr::null()) }); }