This commit is contained in:
Cyan 2024-02-24 14:21:54 +08:00 committed by GitHub
parent 010182e790
commit 0c00d3a372
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -665,7 +665,7 @@ static int migrate_fs(const char *fs_path,
bool force) bool force)
{ {
if (!path_is_fs_root(fs_path)) if (!path_is_fs_root(fs_path))
die("%s is not a filysestem root", fs_path); die("%s is not a filesystem root", fs_path);
int fs_fd = xopen(fs_path, O_RDONLY|O_NOATIME); int fs_fd = xopen(fs_path, O_RDONLY|O_NOATIME);
struct stat stat = xfstat(fs_fd); struct stat stat = xfstat(fs_fd);