Searched refs:svc_strbuf (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/svc/lsvcrun/
H A Dlsvcrun.c501 char *svc_strbuf; local
512 svc_strbuf = malloc(CT_PARAM_MAX_SIZE);
513 if (svc_strbuf == NULL) {
519 (void) strlcpy(svc_strbuf, SCF_FMRI_LEGACY_PREFIX, CT_PARAM_MAX_SIZE);
521 (void) strlcat(svc_strbuf, svc_name ? svc_name : script,
527 if ((errno = ct_pr_tmpl_set_svc_fmri(fd, svc_strbuf)) != 0) {
533 (void) strlcpy(svc_strbuf, action, CT_PARAM_MAX_SIZE);
534 if ((errno = ct_pr_tmpl_set_svc_aux(fd, svc_strbuf)) != 0) {
551 if (svc_strbuf != NULL)
552 free(svc_strbuf);
[all...]

Completed in 43 milliseconds