Home
last modified time | relevance | path

Searched refs:progname (Results 1 – 25 of 183) sorted by relevance

12345678

/illumos-gate/usr/src/cmd/allocate/
H A Dadd_allocatable.c69 char *progname; in main() local
81 progname = argv[0]; in main()
83 progname++; in main()
99 (void) fprintf(stderr, "%s%s", progname, in main()
114 usage(&dargs, progname); in main()
120 (void) fprintf(stderr, "%s%s", progname, in main()
134 usage(&dargs, progname); in main()
143 usage(&dargs, progname); in main()
235 progname, in process_args()
373 if (verify_label(tok, progname) != 0) { in scan_label()
[all …]
/illumos-gate/usr/src/cmd/krb5/slave/
H A Dkpropd.c124 char *progname; variable
189 progname); in usage()
232 com_err(progname, 0,
254 com_err(progname, 0,
282 com_err(progname, errno,
296 com_err(progname, 0,
419 progname); in do_standalone()
432 com_err(progname, errno, in do_standalone()
453 com_err(progname, e, in do_standalone()
499 com_err(progname, errno, in do_standalone()
[all …]
H A Dkprop.c55 char *progname = 0; variable
99 progname); in usage()
165 progname = argv[0];
454 com_err(progname, errno,
474 com_err(progname, errno,
521 com_err(progname,
559 com_err(progname, ENOMEM,
725 com_err(progname, retval,
746 com_err(progname,
769 com_err(progname, 0,
[all …]
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Dkdb5_util.c138 char *progname; variable
248 com_err(progname, ENOMEM,
345 com_err(progname, retval,
403 progname);
461 com_err(progname, retval, in open_db_and_mkey()
469 com_err(progname, retval, in open_db_and_mkey()
498 com_err(progname, retval, in open_db_and_mkey()
530 com_err(progname, retval, in open_db_and_mkey()
532 com_err(progname, 0, in open_db_and_mkey()
545 com_err(progname, retval, in open_db_and_mkey()
[all …]
H A Dkdb5_stash.c118 com_err(progname, retval, "while initializing krb5_context");
125 com_err(progname, retval, "while setting default realm name");
152 com_err(progname, KRB5_PROG_KEYTYPE_NOSUPP,
157 com_err(progname, KRB5_PROG_KEYTYPE_NOSUPP, tmp);
167 com_err(progname, retval,
176 com_err(progname, retval,
189 com_err(progname, retval, gettext("while reading master key"));
197 com_err(progname, retval, gettext("while verifying master key"));
207 com_err(progname, errno, gettext("while storing key"));
217 com_err(progname, retval,
H A Dkadm5_create.c72 extern char *progname;
121 retval = krb5_klog_init(context, "admin_server", progname, 0); in kadm5_create_magic_princs()
124 if ((retval = kadm5_init(progname, NULL, NULL, params, in kadm5_create_magic_princs()
289 com_err(progname, ret, in add_admin_princ()
310 com_err(progname, ret, in add_admin_princ()
323 com_err(progname, ENOMEM, in add_admin_princ()
333 com_err(progname, ret, in add_admin_princ()
355 com_err(progname, ret, in add_admin_princ()
365 com_err(progname, ret, in add_admin_princ()
389 com_err(progname, ret, gettext(str_PARSE_NAME)); in add_admin_old_princ()
[all …]
H A Dkdb5_create.c152 extern char *progname;
225 com_err(progname, retval,
257 com_err(progname, retval,
269 com_err(progname, retval,
279 com_err(progname, retval,
298 com_err(progname, retval,
305 com_err(progname, retval,
314 com_err(progname, retval,
321 com_err(progname, retval,
328 com_err(progname, retval,
[all …]
/illumos-gate/usr/src/cmd/krb5/kinit/
H A Dkinit.c245 usage(progname) in usage() argument
246 char *progname; in usage()
380 char *progname;
582 usage(progname);
1179 progname);
1196 getvprogname(v, progname) in getvprogname() argument
1197 char *v, *progname; in getvprogname()
1204 ret = progname;
1253 com_err(progname, code,
1260 com_err(progname, icode,
[all …]
/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_util.c107 char *progname; variable
326 com_err (progname, retval, gettext("while initializing Kerberos code"));
356 com_err(progname, retval, gettext("while setting default realm name"));
363 com_err(progname, 0, gettext("%s is an invalid enctype"), koptarg);
380 com_err(progname, ENOMEM, gettext("while reading ldap parameters"));
388 com_err(progname, ENOMEM, gettext("while reading ldap parameters"));
396 com_err(progname, ENOMEM, gettext("while reading ldap parameters"));
447 com_err (progname, retval, gettext("while getting default realm"));
496 com_err(progname, retval, gettext("while initializing error handling"));
505 com_err(progname, ENOMEM, gettext("while initializing ldap handle"));
[all …]
/illumos-gate/usr/src/cmd/sendmail/util/
H A Deditmap.c63 usage(progname) in usage() argument
64 char *progname; in usage()
68 progname);
77 char *progname; local
113 if (progname != NULL)
114 progname++;
116 progname = argv[0];
171 usage(progname);
190 usage(progname);
297 progname, hint, typename);
[all …]
H A Dmakemap.c57 usage(progname) in usage() argument
58 char *progname; in usage()
62 progname);
77 char *progname; local
116 progname = strrchr(argv[0], '/');
117 if (progname != NULL)
118 progname++;
120 progname = argv[0];
210 usage(progname);
226 usage(progname);
[all …]
/illumos-gate/usr/src/cmd/krb5/kdestroy/
H A Dkdestroy.c69 char *progname; variable
87 progname); in usage()
128 progname = GET_PROGNAME(argv[0]);
204 com_err(progname, retval, gettext("while initializing krb5"));
221 progname, code);
226 com_err(progname, code,
238 com_err (progname, code, gettext("while resolving %s"), cache_name);
244 com_err(progname, code, gettext("while getting default ccache"));
256 ("%s: Could not obtain principal name from cache\n"), progname);
264 com_err (progname, code, gettext("while destroying cache"));
[all …]
/illumos-gate/usr/src/cmd/krb5/klist/
H A Dklist.c71 char *progname; variable
290 progname);
311 com_err(progname, code,
317 com_err(progname, code,
325 com_err(progname, code,
333 com_err(progname, code,
383 com_err(progname, code,
388 com_err(progname, code,
441 com_err(progname, code,
451 com_err(progname, code,
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/lib/netcfgd/
H A Dnetcfgd.c52 static const char *progname; variable
65 (void) fprintf(stderr, "%s: %s\n", progname, str); in log_out()
90 openlog(progname, LOG_PID, LOG_DAEMON); in start_logging()
92 nlog(LOG_DEBUG, "%s started", progname); in start_logging()
145 if ((progname = strrchr(argv[0], '/')) == NULL) in main()
146 progname = argv[0]; in main()
148 progname++; in main()
157 progname, optopt); in main()
/illumos-gate/usr/src/cmd/tic/
H A Dtic_main.c99 char *progname; variable
113 progname = argv[0]; in main()
131 argv[0], progname, usage_string); in main()
173 fprintf(stderr, "%s: Can't open %s\n", progname, source_file); in init()
188 progname, destination); in init()
194 progname, destination); in init()
224 progname, destination, dir); in check_dir()
229 progname, destination, dir); in check_dir()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.c125 char *progname; variable
275 progname = argv[0]; in main()
464 progname); in main()
475 progname); in main()
503 usage(progname); in main()
508 usage(progname); in main()
515 usage(progname); in main()
597 progname); in main()
641 progname); in main()
1281 progname); in set_nexthop()
[all …]
/illumos-gate/usr/src/cmd/projects/
H A Dprojects.c48 static char *progname; variable
57 progname); in safe_malloc()
147 progname, name); in print_projects()
151 progname, name); in print_projects()
276 "not exist\n", progname, *projlist); in print_projents()
299 progname = argv[0]; in main()
315 progname, progname); in main()
325 progname); in main()
329 progname, progname); in main()
338 progname, strerror(errno)); in main()
[all …]
/illumos-gate/usr/src/cmd/rmmount/
H A Drmmount.c47 char *progname; variable
61 "[mount_point]\n", progname); in usage()
64 "%s: [-dl] [nickname | device]\n", progname); in usage()
86 progname = basename(argv[0]); in rmmount()
88 if (strcmp(progname, "rmumount") == 0) { in rmmount()
224 (void) fprintf(stderr, gettext("%s: Out of memory\n"), progname); in nomem()
258 progname = get_progname(argv[0]); in main()
260 if (strcmp(progname, "rmmount") == 0) { in main()
267 } else if (strcmp(progname, "rmumount") == 0) { in main()
269 } else if (strcmp(progname, "eject") == 0) { in main()
/illumos-gate/usr/src/cmd/addbadsec/
H A Daddbadsec.c59 char *progname; variable
99 progname = argv[0]; in main()
117 progname, optarg); in main()
137 progname, devname); in main()
143 " special\n", progname, devname); in main()
153 " slice\n", progname, devname); in main()
159 " device\n", progname, devname); in main()
165 progname, devname); in main()
171 progname); in main()
242 progname, alts_name); in main()
[all …]
/illumos-gate/usr/src/cmd/split/
H A Dsplit.c60 static char *progname; variable
91 progname = argv[0]; in main()
120 "%s: Badly formed number\n"), progname); in main()
148 progname, optarg); in main()
213 progname, stbuf.f_namemax - suffix_length); in main()
222 "%s: Output file name too long\n"), progname); in main()
269 progname, ftello(in_file), in main()
310 progname, ftello(in_file)); in main()
365 progname); in next_file_name()
377 progname, progname, progname); in Usage()
/illumos-gate/usr/src/grub/grub-0.97/util/
H A Dgrub-md5-crypt.in27 progname="grub-md5-crypt"
34 Usage: $progname [OPTION]
47 echo "$progname (GNU GRUB ${VERSION})"
56 echo "$progname: unrecognized option \`$option'"
57 echo "Usage: $progname [OPTION]"
58 echo "Try \`$progname --help' for more information."
/illumos-gate/usr/src/cmd/audit/
H A Daudit.c56 static char *progname = "audit"; variable
242 "attribute empty\n"), progname); in is_audit_config_ok()
247 "attribute invalid\n"), progname); in is_audit_config_ok()
257 progname); in is_audit_config_ok()
269 progname); in is_audit_config_ok()
295 progname, strerror(errno)); in is_valid_zone()
306 progname); in is_valid_zone()
348 "directory path found\n"), progname); in contains_valid_dirs()
369 (void) fprintf(stderr, gettext("%s: %s error: %s\n"), progname, in validate_path()
375 progname, dir_path); in validate_path()
/illumos-gate/usr/src/cmd/fs.d/smbclnt/chacl/
H A Dchacl.c60 char *progname; variable
72 fprintf(stderr, Usage, progname); in usage()
87 progname = argv[0]; in main()
108 progname, c); in main()
115 progname, c); in main()
133 progname, acl_arg); in main()
138 progname, acl_arg); in main()
202 fprintf(stderr, "%s: failed to convert ACL\n", progname); in chacl()
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Dauthtok_check.c156 char *progname; in get_passwd_defaults() local
449 char *progname; in check_composition() local
527 progname); in check_composition()
630 char *progname; in check_diff() local
655 char *progname; in check_dictionary() local
668 "%s: password dictionary missing."), progname); in check_dictionary()
692 progname); in check_dictionary()
715 char *progname; in pam_sm_chauthtok() local
823 "characters."), progname, pwdef.minlength); in pam_sm_chauthtok()
834 "logonid."), progname); in pam_sm_chauthtok()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Derr.c56 const char *progname; in setprogname() local
58 if ((progname = strrchr(argv0, '/')) == NULL) in setprogname()
59 progname = argv0; in setprogname()
61 progname++; in setprogname()
63 if (udp->progname == NULL) in setprogname()
64 udp->progname = lmalloc(PROGNAMESIZE); in setprogname()
65 (void) strlcpy(udp->progname, progname, PROGNAMESIZE); in setprogname()
66 __progname = udp->progname; in setprogname()

12345678