Replace cst by its name
This commit is contained in:
parent
350b5c41c3
commit
0e11da855c
@ -42,7 +42,7 @@ void idleThread(void *arg)
|
||||
|
||||
|
||||
#define FILE_HEADER_SIZE 16
|
||||
#define FILE_MAX_SIZE 64
|
||||
#define FILE_MAX_SIZE 64 // In nb of sectors
|
||||
void loadUserSpace()
|
||||
{
|
||||
struct ata_partition *part = ATAGetPartition(0);
|
||||
@ -52,7 +52,7 @@ void loadUserSpace()
|
||||
return;
|
||||
}
|
||||
|
||||
char *buf = malloc(FILE_MAX_SIZE * 512);
|
||||
char *buf = malloc(FILE_MAX_SIZE * DISK_SECTOR_SIZE);
|
||||
if (buf == NULL) {
|
||||
printf("ENOMEM\n");
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user