• Ondrej Kozina's avatar
    code cleanup related to devfd checks · 16fab74a
    Ondrej Kozina authored
    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.
    16fab74a
Name
Last commit
Last update
..
Makefile.am Loading commit data...
af.c Loading commit data...
af.h Loading commit data...
keyencryption.c Loading commit data...
keymanage.c Loading commit data...
luks.h Loading commit data...