Moved the berrno as a local variable of the function and not a local context variable. Same as previous change for acl.c
Moved the berrno as a local variable of the function and not a local context variable. Same as previous change for acl.c

rkorzeniewski/bacula,rkorzeniewski/bacula,rkorzeniewski/bacula,rkorzeniewski/bacula,rkorzeniewski/bacula,rkorzeniewski/bacula,rkorzeniewski/bacula,rkorzeniewski/bacula