diff --git a/c-programming/experiments/reverse-ramdisk.c b/c-programming/experiments/reverse-ramdisk.c index 14cf53f..8ab7834 100644 --- a/c-programming/experiments/reverse-ramdisk.c +++ b/c-programming/experiments/reverse-ramdisk.c @@ -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];