mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2026-01-09 17:05:34 +01:00
alter all checks for devfd value after device_open to less than zero insted of equals to -1. device_open will return values different from -1 in case error happens. In LUKSv1 device_open should always return -1 in case of error but this check is safer. The rest is just formating improvement.