diff options
Diffstat (limited to 'src/user/driver')
-rw-r--r-- | src/user/driver/ansiterm.c | 4 | ||||
-rw-r--r-- | src/user/driver/ps2.c | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/user/driver/ansiterm.c b/src/user/driver/ansiterm.c index e332ca2..4b9f0d0 100644 --- a/src/user/driver/ansiterm.c +++ b/src/user/driver/ansiterm.c @@ -78,10 +78,6 @@ void ansiterm_drv(void) { while (!_syscall_fs_wait(buf, sizeof buf, &res)) { switch (res.op) { case VFSOP_OPEN: - if (res.flags & OPEN_CREATE) { - _syscall_fs_respond(NULL, -1, 0); - break; - } // TODO check path _syscall_fs_respond(NULL, 0, 0); break; diff --git a/src/user/driver/ps2.c b/src/user/driver/ps2.c index b2811c3..fd81882 100644 --- a/src/user/driver/ps2.c +++ b/src/user/driver/ps2.c @@ -55,10 +55,6 @@ static void main_loop(void) { while (!_syscall_fs_wait(buf, sizeof buf, &res)) { switch (res.op) { case VFSOP_OPEN: - if (res.flags & OPEN_CREATE) { - _syscall_fs_respond(NULL, -1, 0); - break; - } _syscall_fs_respond(NULL, 1, 0); break; |