Searched refs:copy_rep (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_rep.c | 165 if (copy_rep != NULL) { \ 166 remove(copy_rep); \ 167 free(copy_rep); \ 226 char *copy_rep, *tmp_rep, *upd_str; in update_fabric_wwn_list() local 233 copy_rep = tmp_rep = upd_str = NULL; in update_fabric_wwn_list() 305 if ((copy_rep = (char *)calloc(1, strlen(FAB_REPOSITORY) + in update_fabric_wwn_list() 311 (void) sprintf(copy_rep, "%s%s%ld", FAB_REPOSITORY, COPY_EXT, in update_fabric_wwn_list() 314 if ((copy_fd = open(copy_rep, O_RDWR | O_CREAT | O_TRUNC, in update_fabric_wwn_list() 397 rename(copy_rep, OLD_FAB_REPOSITORY); in update_fabric_wwn_list() 499 rename(copy_rep, OLD_FAB_REPOSITORY); in update_fabric_wwn_list() [all …]
|