diff options
| author | Bastien Orivel <eijebong@bananium.fr> | 2017-08-11 00:16:18 +0200 |
|---|---|---|
| committer | Bastien Orivel <eijebong@bananium.fr> | 2017-08-11 00:16:18 +0200 |
| commit | 47cb3c5bc28e1bb2ac2d2efb7796ceb17b4ab7de (patch) | |
| tree | d322ab0b4256ce1b79dc63e2fab5e70a774c93c6 /src/libstd/sys/redox/syscall | |
| parent | 2ac5f7d249e29ee48737359e0e6dd9e59701a568 (diff) | |
| download | rust-47cb3c5bc28e1bb2ac2d2efb7796ceb17b4ab7de.tar.gz rust-47cb3c5bc28e1bb2ac2d2efb7796ceb17b4ab7de.zip | |
Fix some typos
Diffstat (limited to 'src/libstd/sys/redox/syscall')
| -rw-r--r-- | src/libstd/sys/redox/syscall/call.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sys/redox/syscall/call.rs b/src/libstd/sys/redox/syscall/call.rs index ec9005c2cc3..9fc809eb821 100644 --- a/src/libstd/sys/redox/syscall/call.rs +++ b/src/libstd/sys/redox/syscall/call.rs @@ -40,7 +40,7 @@ pub unsafe fn brk(addr: usize) -> Result<usize> { /// /// * `EACCES` - permission is denied for one of the components of `path`, or `path` /// * `EFAULT` - `path` does not point to the process's addressible memory -/// * `EIO` - an I/O error occured +/// * `EIO` - an I/O error occurred /// * `ENOENT` - `path` does not exit /// * `ENOTDIR` - `path` is not a directory pub fn chdir(path: &str) -> Result<usize> { @@ -290,7 +290,7 @@ pub fn waitpid(pid: usize, status: &mut usize, options: usize) -> Result<usize> /// * `EAGAIN` - the file descriptor was opened with `O_NONBLOCK` and writing would block /// * `EBADF` - the file descriptor is not valid or is not open for writing /// * `EFAULT` - `buf` does not point to the process's addressible memory -/// * `EIO` - an I/O error occured +/// * `EIO` - an I/O error occurred /// * `ENOSPC` - the device containing the file descriptor has no room for data /// * `EPIPE` - the file descriptor refers to a pipe or socket whose reading end is closed pub fn write(fd: usize, buf: &[u8]) -> Result<usize> { |
