stdlib: Fix vector index in linux_os::waitpid. Put out burning tinderbox.

This commit is contained in:
Patrick Walton 2011-07-12 18:28:40 -07:00
parent 01ea0647bb
commit 464d7c4480

View File

@ -77,7 +77,7 @@ fn fd_FILE(int fd) -> libc::FILE { ret libc::fdopen(fd, str::buf("r")); }
fn waitpid(int pid) -> int {
auto status = 0;
assert (os::libc::waitpid(pid, status, 0) != -1);
ret status.(0);
ret status;
}
native "rust" mod rustrt {