git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: decouple the executable file implementations with execve functionality.
[lunaix-os.git]
/
lunaix-os
/
kernel
/
proc0.c
diff --git
a/lunaix-os/kernel/proc0.c
b/lunaix-os/kernel/proc0.c
index d765691a3d622482076d07c161ca414833639b1c..2029bc593ccf9ccef10f896f4c38beb4464be184 100644
(file)
--- a/
lunaix-os/kernel/proc0.c
+++ b/
lunaix-os/kernel/proc0.c
@@
-68,7
+68,7
@@
exec_initd()
{
int errno = 0;
{
int errno = 0;
- if (
exec_kexecve("/mnt/lunaix-os/usr/init", NULL, NULL
)) {
+ if (
(errno = exec_kexecve("/mnt/lunaix-os/usr/init", NULL, NULL)
)) {
goto fail;
}
goto fail;
}