mirror of
https://github.com/reactos/reactos.git
synced 2025-04-21 04:37:15 +00:00
- Fix a typo, now dosfsck really performs writes (and actually works).
svn path=/trunk/; revision=35068
This commit is contained in:
parent
b77c380ad7
commit
834b507d7f
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ void fs_write(loff_t pos,int size,void *data)
|
||||||
if (read(fd,scratch,readsize_aligned) < 0) pdie("Read %d bytes at %I64d",size,pos);
|
if (read(fd,scratch,readsize_aligned) < 0) pdie("Read %d bytes at %I64d",size,pos);
|
||||||
|
|
||||||
/* Patch data in memory */
|
/* Patch data in memory */
|
||||||
memcpy(data, (char *)scratch+seek_delta, size);
|
memcpy((char *)scratch+seek_delta, data, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Write it back */
|
/* Write it back */
|
||||||
|
|
Loading…
Reference in a new issue