Skip to content
Snippets Groups Projects
Commit dc443a8c authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Format

parent 4c4ce80f
No related branches found
No related tags found
No related merge requests found
Pipeline #678 passed with warnings
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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment