summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Insulander <hin@cvs.openbsd.org>2002-06-06 17:29:40 +0000
committerHans Insulander <hin@cvs.openbsd.org>2002-06-06 17:29:40 +0000
commit77cfbe3e0e93f0e9b2308fd4cd5c9c4a2bca0084 (patch)
tree08ce06b0b6809b9b7348f9155dd71e10482464ef
parent5ba602872716d9b96cdc1c8af7c7cea8e5e1ed61 (diff)
- correct strlcpy() size argument
- minor spelling fix Spotted by Moritz Jodeit <moritz@jodeit.org>
-rw-r--r--kerberosIV/src/kadmin/ksrvutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kerberosIV/src/kadmin/ksrvutil.c b/kerberosIV/src/kadmin/ksrvutil.c
index f1380149d50..6a3a9e51f5e 100644
--- a/kerberosIV/src/kadmin/ksrvutil.c
+++ b/kerberosIV/src/kadmin/ksrvutil.c
@@ -265,7 +265,7 @@ usage(void)
fprintf(stderr, "{list | change | add | get | delete}\n");
fprintf(stderr, " -i causes the program to ask for "
"confirmation before changing keys.\n");
- fprintf(stderr, " -k causes the key to printed for list or change.\n");
+ fprintf(stderr, " -k causes the key to be printed for list or change.\n");
fprintf(stderr, " -u creates one keyfile for each principal "
"(only used with `get')\n");
exit(1);
@@ -588,7 +588,7 @@ main(int argc, char **argv)
} else {
strlcpy (sname, databuf, sizeof(sname));
safe_read_stdin("Instance: ", databuf, sizeof(databuf));
- strlcpy (sinst, databuf, sizeof(databuf));
+ strlcpy (sinst, databuf, sizeof(sinst));
}
safe_read_stdin("Realm: ", databuf, sizeof(databuf));