Searched refs:old_inst_file (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm.c3728 char *old_inst_file = NULL; local
3746 old_inst_file = s_malloc(inst_strlen + PID_STR_LEN + 6);
3786 (void) snprintf(old_inst_file, inst_strlen + PID_STR_LEN + 6,
3789 if (stat(old_inst_file, &sb) == 0) {
3790 s_unlink(old_inst_file);
3793 if ((old_inst_file_fp = fopen(old_inst_file, "w")) == NULL) {
3795 * Can't open the 'old_inst_file' file for writing.
3802 err_print(CANT_UPDATE, old_inst_file);
3819 vprint(INFO_MID, CANT_UPDATE, old_inst_file);
3829 (void) chmod(old_inst_file, 044
[all...]

Completed in 83 milliseconds