Searched refs:svc_strbuf (Results 1 – 1 of 1) sorted by relevance
501 char *svc_strbuf; in prepare_contract() local512 svc_strbuf = malloc(CT_PARAM_MAX_SIZE); in prepare_contract()513 if (svc_strbuf == NULL) { in prepare_contract()519 (void) strlcpy(svc_strbuf, SCF_FMRI_LEGACY_PREFIX, CT_PARAM_MAX_SIZE); in prepare_contract()521 (void) strlcat(svc_strbuf, svc_name ? svc_name : script, in prepare_contract()527 if ((errno = ct_pr_tmpl_set_svc_fmri(fd, svc_strbuf)) != 0) { in prepare_contract()533 (void) strlcpy(svc_strbuf, action, CT_PARAM_MAX_SIZE); in prepare_contract()534 if ((errno = ct_pr_tmpl_set_svc_aux(fd, svc_strbuf)) != 0) { in prepare_contract()551 if (svc_strbuf != NULL) in prepare_contract()552 free(svc_strbuf); in prepare_contract()