Commit 739aef47 authored by Jeremy Soller's avatar Jeremy Soller

Remove unused type parameter

parent 66e34aea
......@@ -95,7 +95,7 @@ pub fn fcntl(fd: usize, cmd: usize, arg: usize) -> Result<usize> {
/// Replace the current process with a new executable
pub fn fexec<T: AsRef<[u8]>>(fd: usize, args: &[[usize; 2]], vars: &[[usize; 2]]) -> Result<usize> {
pub fn fexec(fd: usize, args: &[[usize; 2]], vars: &[[usize; 2]]) -> Result<usize> {
unsafe { syscall5(SYS_FEXEC, fd, args.as_ptr() as usize, args.len(), vars.as_ptr() as usize, vars.len()) }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment