Lines Matching defs:lock_file
88 static char lock_file[PATH_MAX + 1];
224 if (snprintf(lock_file, sizeof (lock_file), "%s%s", root_dir,
225 LOCK_FILENAME) >= sizeof (lock_file)) {
226 (void) fprintf(stderr, MSG_LOCK_PATH_ERR, whoami, lock_file);
229 lock_fd = open(lock_file, O_CREAT|O_RDWR, 0644);
232 whoami, lock_file, strerror(errno));
247 whoami, lock_file, strerror(errno));
265 whoami, lock_file, strerror(errno));
270 whoami, lock_file, strerror(errno));