Fix puts and putc not sending correct error flags
This commit is contained in:
parent
36188f9cbc
commit
f852371022
@ -155,8 +155,9 @@ void vfs_puts(vfs_message* vfs_msg,uint32_t from) {
|
||||
mailbox_send_msg(&msg);
|
||||
free(data);
|
||||
yield();
|
||||
vfs_msg=get_message(&msg);
|
||||
if (vfs_msg->flags!=0) {
|
||||
vfs_message* resp=get_message(&msg);
|
||||
if (resp->flags!=0) {
|
||||
vfs_msg->flags=resp->flags;
|
||||
return;
|
||||
}
|
||||
fd_tables[from][fd].pos++;
|
||||
|
Loading…
Reference in New Issue
Block a user