diff --git a/server/console.c b/server/console.c index a2171b3c1b4..dc3785e8726 100644 --- a/server/console.c +++ b/server/console.c @@ -992,9 +992,7 @@ static int screen_buffer_write( struct fd *fd, struct async *async, file_pos_t p /* we can't use default async handling, because write result is not * compatible with ioctl result */ iosb = async_get_iosb( async ); - iosb->status = STATUS_SUCCESS; iosb->result = iosb->in_size; - async_terminate( async, iosb->result ? STATUS_ALERTED : STATUS_SUCCESS ); release_object( iosb ); return 1; }