display status message to stdout (locker/unlocker)

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
indent code cleanup

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
fix compiler warnings

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>