diff options
| author | Miguel <m.i@gmx.at> | 2018-09-14 20:23:24 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-09-14 20:23:24 +0200 |
| commit | fdf6100721870780319bc7cc766a0bb5b4789965 (patch) | |
| tree | f30ff5b21ee557ec5dcd5ccddb7b2a1abc46db1c /interface/syscalls.c | |
| parent | 1195ca0bd84693fd56f6d34a9f2de3107b9820bf (diff) | |
ext2 improved , struggling with scheduler
Diffstat (limited to 'interface/syscalls.c')
| -rw-r--r-- | interface/syscalls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interface/syscalls.c b/interface/syscalls.c index 11304a8..4acbba5 100644 --- a/interface/syscalls.c +++ b/interface/syscalls.c @@ -105,9 +105,9 @@ int _times(struct tms *buf) return syscall(SYSCALL_TIMES,buf,0,0); } -int _wait(int *status) +int _wait(uint32_t pid) { - return syscall(SYSCALL_WAIT,status,0,0); + return syscall(SYSCALL_WAIT,pid,0,0); } int _stat(const char *file, struct stat *st) |
