checkin_checklock
if (checkin_checklock(pb) < 0)
if (checkin_checklock(pb) == -1)
static int checkin_checklock(struct checkin_params *);