diff options
Diffstat (limited to 'src/kernel/arch/amd64/driver/serial.c')
-rw-r--r-- | src/kernel/arch/amd64/driver/serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/arch/amd64/driver/serial.c b/src/kernel/arch/amd64/driver/serial.c index 6dda657..93202c2 100644 --- a/src/kernel/arch/amd64/driver/serial.c +++ b/src/kernel/arch/amd64/driver/serial.c @@ -93,7 +93,7 @@ static void accept(struct vfs_request *req) { } break; case VFSOP_WRITE: - if (req->caller) { + if (req->caller && !req->flags) { struct virt_iter iter; virt_iter_new(&iter, req->input.buf, req->input.len, req->caller->pages, true, false); |