another shot at fixing writes
Modified: trunk/rosapps/sysutils/dosfsck/io.c
_____
Modified: trunk/rosapps/sysutils/dosfsck/io.c
--- trunk/rosapps/sysutils/dosfsck/io.c 2005-08-10 03:32:15 UTC (rev
17252)
+++ trunk/rosapps/sysutils/dosfsck/io.c 2005-08-10 03:59:01 UTC (rev
17253)
@@ -186,7 +186,7 @@
}
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;
Show replies by date