Fix formatting
This commit is contained in:
@@ -63,7 +63,7 @@ pub fn fchdir(fildes: c_int) -> c_int {
|
||||
}
|
||||
|
||||
pub fn fork() -> pid_t {
|
||||
e(unsafe {syscall!(FORK) }) as pid_t
|
||||
e(unsafe { syscall!(FORK) }) as pid_t
|
||||
}
|
||||
|
||||
pub fn fsync(fildes: c_int) -> c_int {
|
||||
|
||||
@@ -64,7 +64,7 @@ pub fn fchdir(fd: c_int) -> c_int {
|
||||
}
|
||||
|
||||
pub fn fork() -> pid_t {
|
||||
e(unsafe { syscall::clone(0) }) as pid_t
|
||||
e(unsafe { syscall::clone(0) }) as pid_t
|
||||
}
|
||||
|
||||
pub fn fsync(fd: c_int) -> c_int {
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
#![no_std]
|
||||
|
||||
extern crate errno;
|
||||
extern crate platform;
|
||||
extern crate va_list as vl;
|
||||
extern crate errno;
|
||||
|
||||
use core::str;
|
||||
use core::fmt::Write;
|
||||
|
||||
Reference in New Issue
Block a user