From eecc9a442cad28b72eafb2dc0bfe2d729260fb40 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jeremy@system76.com>
Date: Mon, 15 Apr 2019 21:01:19 -0600
Subject: [PATCH] Fix missing name override option when calling fexec_kernel

---
 src/lib.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib.rs b/src/lib.rs
index 7e02d4ab..0da3a7c9 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -156,7 +156,7 @@ pub extern fn userspace_init() {
         }
     }
 
-    syscall::fexec_kernel(fd, args.into_boxed_slice(), vars.into_boxed_slice()).expect("failed to execute init");
+    syscall::fexec_kernel(fd, args.into_boxed_slice(), vars.into_boxed_slice(), None).expect("failed to execute init");
 
     panic!("init returned");
 }
-- 
GitLab