update_str
static char *update_str;
prepare_bootblock(data, pl, update_str);
update_str = strdup(optarg);
if (update_str == NULL) {
if (update_str == NULL) {
update_str = einfo_get_string(einfo_file);
if (!do_version || update_str == NULL) {
BOOT_DEBUG("Ready to check installed version vs %s\n", update_str);
rv = einfo_should_update(einfo, &bblock_hs, update_str);
commit_to_disk(ib_data_t *data, char *update_str)
if (prepare_bootblock(data, update_str) != BC_SUCCESS) {
if (!is_update_necessary(&install_data, update_str)) {
static char *update_str;
ret = commit_to_disk(&install_data, update_str);
update_str = malloc(strlen(optarg) + 1);
if (update_str == NULL) {
(void) strlcpy(update_str, optarg, strlen(optarg) + 1);
update_str = malloc(strlen(optarg) + 1);
if (update_str == NULL) {
(void) strlcpy(update_str, optarg, strlen(optarg) + 1);
if (!is_update_necessary(&install_data, update_str)) {
ret = commit_to_disk(&install_data, update_str);
static char *update_str;
free(update_str);
update_str, errstring)) {
free(update_str);
free(update_str);
free(update_str);
char *node_path, *vhci_path, *update_str;
if ((update_str = calloc(1, strlen(xport_phys) +
sprintf(update_str, "%s%s%s", xport_phys, DYN_SEP, port_wwn);
if (update_fabric_wwn_list(REMOVE_ENTRY, update_str,
S_FREE(update_str);
S_FREE(update_str);
char *node_path, *update_str;
if ((update_str = calloc(1, strlen(xport_phys) +
sprintf(update_str, "%s%s%s", xport_phys, DYN_SEP, port_wwn);
if (update_fabric_wwn_list(REMOVE_ENTRY, update_str,
S_FREE(update_str);
S_FREE(update_str);
char *update_str, *t_apid;
if ((update_str = calloc(1, (strlen(apidt->xport_phys) +
strcpy(update_str, apidt->xport_phys);
strcat(update_str, DYN_SEP);
strcat(update_str, apidt->dyncomp);
update_str, errstring);
S_FREE(update_str);
free(update_str);
free(update_str);
free(update_str);
free(update_str);
S_FREE(update_str);
update_fabric_wwn_list(ADD_ENTRY, update_str, errstring)) {
S_FREE(update_str);
free(update_str);
update_str, errstring)) {
free(update_str);
S_FREE(update_str);
free(update_str);
free(update_str);
free(update_str);
update_fabric_wwn_list(int cmd, const char *update_str, char **errstring)
if ((len = strlen(update_str)) == 0) {
strcpy(upd_str, update_str);
if (update_str(&result->sid_prefix, sid_prefix)
if (update_str(&result->sid_prefix, sid_prefix)
if (update_str(&result->winname, name) != 0)
if (update_str(&result->windomain, domain) != 0)
if (update_str(&result->winname, name) != 0)
if (update_str(&result->windomain, domain) != 0)
if (update_str(&result->sid_prefix, sid_prefix) != 0)
if (update_str(&result->sid_prefix, sid_prefix) != 0)