This commit is contained in:
Andrea Mazzoleni 2026-03-15 15:38:52 +01:00
parent ddf2af988b
commit df29e95cef

View file

@ -808,6 +808,8 @@ int filephy(const char* path, uint64_t size, uint64_t* physical)
*physical = offset + FILEPHY_REAL_OFFSET;
}
free(fiemap);
if (close(f) == -1)
return -1;
return 0;