another coverity fix in access.c