Home
last modified time | relevance | path

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

123456789

/titanic_50/usr/src/cmd/allocate/
H A Dadd_allocatable.c69 char *progname; in main() local
80 if ((progname = strrchr(argv[0], '/')) == NULL) in main()
81 progname = argv[0]; in main()
83 progname++; in main()
91 (void) fprintf(stderr, "%s%s", progname, in main()
99 (void) fprintf(stderr, "%s%s", progname, in main()
109 if (strcmp(progname, "add_allocatable") == 0) { in main()
111 } else if (strcmp(progname, "remove_allocatable") == 0) { in main()
114 usage(&dargs, progname); in main()
120 (void) fprintf(stderr, "%s%s", progname, in main()
[all …]
/titanic_50/usr/src/cmd/avs/ncall/
H A Dncalladm.c42 static char *progname; variable
50 (void) fprintf(stderr, gettext(" %s -d\n"), progname); in usage()
51 (void) fprintf(stderr, gettext(" %s -e\n"), progname); in usage()
52 (void) fprintf(stderr, gettext(" %s -h\n"), progname); in usage()
55 progname); in usage()
56 (void) fprintf(stderr, gettext(" %s -i\n"), progname); in usage()
57 (void) fprintf(stderr, gettext(" %s -p <host>\n"), progname); in usage()
87 progname, gethostid()); in ncall_cfg_open()
94 progname, cfg_error(NULL)); in ncall_cfg_open()
101 progname, cfg_error(NULL)); in ncall_cfg_open()
[all …]
/titanic_50/usr/src/cmd/avs/sdbc/
H A Dscmadm.c90 static caddr_t progname; variable
118 progname, (sz), MAX_CACHE_SIZE); \
152 gettext("%s: get system options failed\n"), progname); in get_cd_hint()
160 gettext("%s: get cd(%d) hint failed\n"), progname, cd); in get_cd_hint()
204 progname, default_cfg); in convert_config()
211 progname, cfg_error(NULL)); in convert_config()
217 progname); in convert_config()
225 progname, cfg_error(NULL)); in convert_config()
232 progname, cfg_error(NULL)); in convert_config()
239 progname, cfg_error(NULL)); in convert_config()
[all …]
/titanic_50/usr/src/cmd/krb5/slave/
H A Dkpropd.c124 char *progname; variable
189 progname); in usage()
225 com_err(progname, retval,
232 com_err(progname, 0,
244 com_err(progname, retval,
254 com_err(progname, 0,
257 master ? master : "unknown", def_realm, progname);
264 com_err(progname, retval,
282 com_err(progname, errno,
296 com_err(progname, 0,
[all …]
H A Dkprop.c55 char *progname = 0; variable
99 progname); in usage()
135 com_err(progname, retval, gettext("%s while opening connection to %s"),
142 progname, Errmsg, slave_host);
165 progname = argv[0];
223 com_err(progname, ENOMEM,
231 com_err(progname, retval,
245 com_err(progname, retval,
256 com_err(progname, errno, gettext("while setting client principal name"));
262 com_err(progname, errno,
[all …]
/titanic_50/usr/src/cmd/krb5/kadmin/dbutil/
H A Dkdb5_util.c138 char *progname; variable
236 progname = (strrchr(argv[0], '/') ?
241 com_err (progname, retval,
248 com_err(progname, ENOMEM,
267 com_err(progname, ENOMEM, "while parsing command arguments");
275 com_err(progname, ENOMEM, "while parsing command arguments\n");
281 com_err(progname, ENOMEM, "while parsing command arguments\n");
291 com_err(progname, retval,
299 com_err(progname, 0, gettext("%s is an invalid enctype"), koptarg);
335 com_err (progname, retval, "while getting default realm");
[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;
103 com_err(progname, retval, gettext("while looking up the Kerberos configuration")); in kadm5_create()
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()
129 com_err(progname, retval, gettext("while initializing the Kerberos admin interface")); 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()
[all …]
H A Dkdb5_create.c152 extern char *progname;
188 com_err(progname, ENOMEM, "while parsing command arguments\n");
214 com_err (progname, retval, "Loading random data");
225 com_err(progname, retval,
257 com_err(progname, retval,
269 com_err(progname, retval,
279 com_err(progname, retval,
288 com_err(progname, retval, gettext("while copying master key"));
298 com_err(progname, retval,
305 com_err(progname, retval,
[all …]
/titanic_50/usr/src/cmd/krb5/kinit/
H A Dkinit.c245 usage(progname) in usage() argument
246 char *progname; in usage()
279 gettext("Usage"), progname);
376 parse_options(argc, argv, opts, progname) in parse_options() argument
380 char *progname;
477 com_err(progname, code, "while adding preauth option");
582 usage(progname);
598 char* progname = progname_v5; local
606 com_err(progname, code, gettext("while initializing Kerberos 5 library"));
614 com_err(progname, code, gettext("resolving ccache %s"),
[all …]
/titanic_50/usr/src/cmd/sendmail/aux/
H A Deditmap.c65 usage(progname) in usage() argument
66 char *progname; in usage()
70 progname);
79 char *progname; local
114 progname = strrchr(argv[0], '/');
115 if (progname != NULL)
116 progname++;
118 progname = argv[0];
173 usage(progname);
192 usage(progname);
[all …]
H A Dmakemap.c60 usage(progname) in usage() argument
61 char *progname; in usage()
65 progname);
68 (int) strlen(progname), "");
71 (int) strlen(progname), "");
80 char *progname; local
119 progname = strrchr(argv[0], '/');
120 if (progname != NULL)
121 progname++;
123 progname = argv[0];
[all …]
/titanic_50/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_util.c107 char *progname; variable
321 progname = (strrchr(argv[0], '/') ? strrchr(argv[0], '/')+1 : argv[0]);
326 com_err (progname, retval, gettext("while initializing Kerberos code"));
333 com_err(progname, ENOMEM, gettext("while creating sub-command arguments"));
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"));
[all …]
/titanic_50/usr/src/cmd/tic/
H A Dtic_main.c101 char *progname; variable
115 progname = argv[0]; in main()
133 argv[0], progname, usage_string); in main()
175 fprintf(stderr, "%s: Can't open %s\n", progname, source_file); in init()
190 progname, destination); in init()
196 progname, destination); in init()
226 progname, destination, dir); in check_dir()
231 progname, destination, dir); in check_dir()
267 progname);
/titanic_50/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);
260 ("%s: Could not unparse principal name found in cache\n"), progname);
[all …]
/titanic_50/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()
/titanic_50/usr/src/cmd/krb5/klist/
H A Dklist.c72 char *progname; variable
118 "[-k [-t] [-K]] [name]\n"), progname); in usage()
165 progname = GET_PROGNAME(argv[0]);
275 com_err(progname, retval, gettext("while initializing krb5"));
291 progname);
312 com_err(progname, code,
318 com_err(progname, code,
326 com_err(progname, code,
334 com_err(progname, code,
359 com_err(progname, code,
[all …]
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.c125 char *progname; variable
276 progname = argv[0]; in main()
310 progname, optarg); in main()
323 "range\n", progname, i); in main()
345 "range\n", progname, i); in main()
398 "range\n", progname, i); in main()
408 "range\n", progname, i); in main()
440 progname, hoplimit); in main()
465 progname); in main()
476 progname); in main()
[all …]
/titanic_50/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 …]
/titanic_50/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()
/titanic_50/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()
177 (void) fprintf(stderr, "%s: could not get VTOC.\n", progname); in main()
[all …]
/titanic_50/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()
/titanic_50/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."
/titanic_50/usr/src/cmd/audit/
H A Daudit.c52 static char *progname = "audit"; variable
238 "attribute empty\n"), progname); in is_audit_config_ok()
243 "attribute invalid\n"), progname); in is_audit_config_ok()
253 progname); in is_audit_config_ok()
265 progname); in is_audit_config_ok()
291 progname, strerror(errno)); in is_valid_zone()
302 progname); in is_valid_zone()
344 "directory path found\n"), progname); in contains_valid_dirs()
365 (void) fprintf(stderr, gettext("%s: %s error: %s\n"), progname, in validate_path()
371 progname, dir_path); in validate_path()
/titanic_50/usr/src/cmd/fs.d/smbclnt/chacl/
H A Dchacl.c56 char *progname; variable
68 fprintf(stderr, Usage, progname); in usage()
83 progname = argv[0]; in main()
104 progname, c); in main()
111 progname, c); in main()
129 progname, acl_arg); in main()
134 progname, acl_arg); in main()
199 fprintf(stderr, "%s: failed to convert ACL\n", progname); in chacl()

123456789