mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
another shot at fixing writes
svn path=/trunk/; revision=17253
This commit is contained in:
parent
49844139cc
commit
b5fe5d7dcb
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ void fs_write(loff_t pos,int size,void *data)
|
|||
}
|
||||
new = alloc(sizeof(CHANGE));
|
||||
new->pos = pos;
|
||||
memcpy(new->data = alloc(new->size = size),data,size);
|
||||
memcpy(new->data = alloc(new->size = readsize_aligned),data,readsize_aligned);
|
||||
new->next = NULL;
|
||||
if (last) last->next = new;
|
||||
else changes = new;
|
||||
|
|
Loading…
Reference in a new issue