diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-11-20 23:28:17 +0100 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-11-20 23:28:17 +0100 |
| commit | a822afc278e7855dea55bcd0de2e402d5bf43508 (patch) | |
| tree | 3ce639618b5548389096e5e340a36025e0371af7 /userspace/syscalls.c | |
| parent | b9af856ae4a65e09b401cdbc7858c6cd4b1b0b5f (diff) | |
fixed loading and runnnng progs (clear bss)
Diffstat (limited to 'userspace/syscalls.c')
| -rw-r--r-- | userspace/syscalls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/userspace/syscalls.c b/userspace/syscalls.c index fd9b5ba..8c8bfc9 100644 --- a/userspace/syscalls.c +++ b/userspace/syscalls.c @@ -12,7 +12,7 @@ char **environ={__env1,__env2,__env3}; void _exit(int ret) { - while(1); + return syscall(SYSCALL_EXIT,ret,0,0); } // generic syscall interface! |
