mirror of
https://gitlab.com/80486DX2-66/gists
synced 2025-04-14 09:29:04 +05:30
reverse-ramdisk.c: fix grammar
This commit is contained in:
parent
3f4c38c1e1
commit
61bc7a0725
@ -139,7 +139,7 @@ int tf_alloc(size_t n, size_t type_size) {
|
||||
temp_files[num_temp_files].file_path = file_path;
|
||||
temp_files[num_temp_files].file = file;
|
||||
|
||||
// Increment the number of temp files
|
||||
// Increment the number of temporary files
|
||||
num_temp_files++;
|
||||
|
||||
return temp_files[num_temp_files - 1].ID;
|
||||
@ -176,7 +176,7 @@ int tf_free(int ID) {
|
||||
free(temp_files[index].file_path);
|
||||
temp_files[index].file_path = NULL;
|
||||
|
||||
// Shift the remaining temp files in the array
|
||||
// Shift the remaining temporary files in the array
|
||||
for (size_t i = index; i < num_temp_files - 1; i++)
|
||||
temp_files[i] = temp_files[i + 1];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user