mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Sync device using internal write enabled descriptor.
This commit is contained in:
committed by
Milan Broz
parent
ee57b865b0
commit
83c227d53c
@@ -215,7 +215,7 @@ int crypt_wipe_device(struct crypt_device *cd,
|
||||
}
|
||||
}
|
||||
|
||||
device_sync(cd, device, devfd);
|
||||
device_sync(cd, device);
|
||||
out:
|
||||
free(sf);
|
||||
return r;
|
||||
|
||||
Reference in New Issue
Block a user