* common-src/amflock.c: Set errno.
* perl/Amanda/Changer.pm: Print error on lock error.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@6017 a8d146d6-cc15-0410-8900-af154a0219e0