Searched refs:new_arg (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_upgrade.c | 367 char new_arg[PATH_MAX]; in cvt_kernel_line() local 482 (void) snprintf(new_arg, sizeof (new_arg), "%s", in cvt_kernel_line() 485 (void) snprintf(new_arg, sizeof (new_arg), "%s", in cvt_kernel_line() 488 BAM_DPRINTF(("%s: converted unix: %s\n", fcn, new_arg)); in cvt_kernel_line() 491 (void) strlcat(new_arg, " ", sizeof (new_arg)); in cvt_kernel_line() 492 (void) strlcat(new_arg, flags1_ptr, sizeof (new_arg)); in cvt_kernel_line() 496 (void) strlcat(new_arg, " ", sizeof (new_arg)); in cvt_kernel_line() 497 (void) strlcat(new_arg, flags2_ptr, sizeof (new_arg)); in cvt_kernel_line() 500 BAM_DPRINTF(("%s: converted unix with flags : %s\n", fcn, new_arg)); in cvt_kernel_line() 503 line->arg = s_strdup(new_arg); in cvt_kernel_line()
|
H A D | bootadm.c | 9415 char *new_arg; local 9432 new_arg = old_args = space = NULL; 9563 new_arg = s_calloc(1, new_str_len); 9564 (void) snprintf(new_arg, new_str_len, "%s %s", 9567 kernelp->arg = new_arg; 9582 new_arg = s_calloc(1, old_kernel_len + 1); 9583 (void) snprintf(new_arg, old_kernel_len + 1, "%s", 9586 kernelp->arg = new_arg; 9662 new_arg = s_calloc(1, new_str_len); 9663 (void) snprintf(new_arg, new_str_len, "%s %s", [all …]
|