Searched refs:dup_pos (Results 1 – 2 of 2) sorted by relevance
154 char **dup_pos; in set_smf_env() local159 if ((dup_pos = find_dup(*p, nenv, instance->fmri, in set_smf_env()161 free(*dup_pos); in set_smf_env()162 *dup_pos = strdup(*p); in set_smf_env()163 if (*dup_pos == NULL) in set_smf_env()
321 char **dup_pos; in set_smf_env() local326 if ((dup_pos = find_dup(*p, nenv, inst)) != NULL) { in set_smf_env()327 startd_free(*dup_pos, strlen(*dup_pos) + 1); in set_smf_env()329 *dup_pos = startd_alloc(sz); in set_smf_env()330 (void) strlcpy(*dup_pos, *p, sz); in set_smf_env()