Fix FAT driver issues (FAT32 while being under 32MiB), liballoc alignment so SSE doesnt break
This commit is contained in:
@@ -64,7 +64,9 @@ static void mkfile (struct context* context, char** file_paths, size_t files_cou
|
||||
continue;
|
||||
}
|
||||
|
||||
create_file (path);
|
||||
if ((ret = create_file (path)) < 0) {
|
||||
cprintf (context, "ERROR could not create file '%s': %s\n", file_path, str_status[-ret]);
|
||||
}
|
||||
|
||||
volume_close ();
|
||||
}
|
||||
@@ -284,14 +286,14 @@ static void mkvol (struct context* context, const char* volume, const char* str_
|
||||
} else if (strcmp (str_fs_type, "fat32") == 0) {
|
||||
fs_type = FS_FAT32;
|
||||
} else {
|
||||
cprintf (context, "Unknown filesystem '%s'\n", str_fs_type);
|
||||
cprintf (context, "ERROR Unknown filesystem '%s'\n", str_fs_type);
|
||||
return;
|
||||
}
|
||||
|
||||
int ret = create_volume (volume, fs_type, device);
|
||||
|
||||
if (ret < 0)
|
||||
cprintf (context, "Could not create volume: %s\n", str_status[-ret]);
|
||||
cprintf (context, "ERROR Could not create volume: %s\n", str_status[-ret]);
|
||||
}
|
||||
|
||||
static void help (struct context* context) {
|
||||
|
||||
Reference in New Issue
Block a user