6f3650e lockdev: fix device locking other tools

Authored and Committed by msekleta 10 years ago
    lockdev: fix device locking other tools
    
    Module locks.c is compiled in not only into mgetty itself but to other
    tools too, e.g vgetty.  Initial version of patch adding support for
    lockdev api covered device locking only for mgetty. At the time
    neither me nor people who tested the patch discovered the bug,
    because obviosly we didn't tested it with voice modems.
    
    Resolves: #982711
    
        
file modified
+74 -44
file modified
+1 -0