mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 20:58:22 +00:00
pipefs: fix
This commit is contained in:
@@ -186,7 +186,7 @@ int pipefs_write(vnode_t *node, void *buffer, size_t size, uintmax_t offset, int
|
||||
// if not enough space
|
||||
error = EAGAIN;
|
||||
goto leave;
|
||||
} else {
|
||||
} else if (nonblock && atomic) {
|
||||
// write
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user