Format
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use super::constants::*;
|
||||
use super::{BUFSIZ, FILE, UNGET};
|
||||
use core::sync::atomic::AtomicBool;
|
||||
use core::mem;
|
||||
use core::sync::atomic::AtomicBool;
|
||||
use errno;
|
||||
use fcntl::*;
|
||||
use platform;
|
||||
|
||||
@@ -800,7 +800,7 @@ pub unsafe extern "C" fn system(command: *const c_char) -> c_int {
|
||||
"sh\0".as_ptr(),
|
||||
"-c\0".as_ptr(),
|
||||
command_nonnull,
|
||||
ptr::null()
|
||||
ptr::null(),
|
||||
];
|
||||
|
||||
unistd::execv(shell as *const c_char, args.as_ptr() as *const *mut c_char);
|
||||
|
||||
Reference in New Issue
Block a user