Added documentation for container and backing

This commit is contained in:
2024-02-19 20:03:30 +01:00
parent a9be69eed7
commit 7513bb37cc
6 changed files with 128 additions and 25 deletions

View File

@@ -149,7 +149,7 @@ result_t add_backing(char** _backing, const char* container) {
return result;
}
result_t import_backing(char** _backing, const char* path) {
result_t import_backing(char** _backing, const char* disk) {
// Initialize the output parameters
*_backing = NULL;
@@ -160,7 +160,7 @@ result_t import_backing(char** _backing, const char* path) {
return result;
// Copy the disk to the temporary backing path
result = copy_file(path, temp_path);
result = copy_file(disk, temp_path);
if (result != success()) {
free(temp_path);
return result;