mirror of
https://github.com/bobbimanners/GNO-Extras.git
synced 2025-01-05 02:31:51 +00:00
More fixup of the size of freelist[]
This commit is contained in:
parent
207c84da21
commit
846ef0bad5
@ -321,7 +321,7 @@ ret:
|
|||||||
* Read the free list
|
* Read the free list
|
||||||
*/
|
*/
|
||||||
int readfreelist(uchar device) {
|
int readfreelist(uchar device) {
|
||||||
bzero(freelist, 8096);
|
bzero(freelist, 8192);
|
||||||
if (readdiskblock(device, 2, buf) == -1) {
|
if (readdiskblock(device, 2, buf) == -1) {
|
||||||
puts("Error reading volume dir");
|
puts("Error reading volume dir");
|
||||||
return -1;
|
return -1;
|
||||||
@ -342,7 +342,7 @@ int readfreelist(uchar device) {
|
|||||||
p += BLKSZ;
|
p += BLKSZ;
|
||||||
}
|
}
|
||||||
#if 0
|
#if 0
|
||||||
for (uint i=0; i<8096; ++i) {
|
for (uint i=0; i<8192; ++i) {
|
||||||
pr_uint(freelist[i]);
|
pr_uint(freelist[i]);
|
||||||
putchar(' ');
|
putchar(' ');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user