print error messages to stderr; change all in-string quoting to use "

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14021 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2004-07-04 15:09:42 +00:00
parent 8190ec78b2
commit d970c48c81
13 changed files with 32 additions and 31 deletions

View File

@@ -53,7 +53,7 @@ del_enctype(void *opt, int argc, char **argv)
krb5_enctype *etypes;
if(argc < 2) {
printf("usage: del_enctype principal enctypes...\n");
fprintf(stderr, "usage: del_enctype principal enctypes...\n");
return 0;
}
@@ -68,7 +68,7 @@ del_enctype(void *opt, int argc, char **argv)
for (i = 0; i < n_etypes; ++i) {
ret = krb5_string_to_enctype (context, argv[i], &etypes[i]);
if (ret) {
krb5_warnx (context, "bad enctype `%s'", argv[i]);
krb5_warnx (context, "bad enctype \"%s\"", argv[i]);
goto out2;
}
}