Searched refs:new_attr_val (Results 1 – 1 of 1) sorted by relevance
1365 char *new_attr_val; in linkattr_upgrade() local1376 if ((new_attr_val = malloc(new_attr_sz)) == NULL) in linkattr_upgrade()1378 (void) strcpy(new_attr_val, linkp->ll_link); in linkattr_upgrade()1389 new_attr_val = calloc(MAXLINKATTRVALLEN, sizeof (char)); in linkattr_upgrade()1390 if (new_attr_val == NULL) in linkattr_upgrade()1399 free(new_attr_val); in linkattr_upgrade()1404 if (strlcat(new_attr_val, portname, in linkattr_upgrade()1406 free(new_attr_val); in linkattr_upgrade()1412 new_attr_sz = strlen(new_attr_val) + 1; in linkattr_upgrade()1420 attrp->lp_val = new_attr_val; in linkattr_upgrade()