Replace cst by its name

This commit is contained in:
Mathieu Maret 2022-08-07 16:20:01 +02:00
parent 350b5c41c3
commit 0e11da855c
1 changed files with 2 additions and 2 deletions

View File

@ -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;