summaryrefslogtreecommitdiff
path: root/usr.sbin/afs
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-09 02:38:12 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-09 02:38:12 +0000
commitc90efc20c7570b0e3a39e75514216e9d7d11c47b (patch)
tree3233567c7199a6556f7bbb013aad5eecc48cea8f /usr.sbin/afs
parentd1e2028ffb43811e5f41ac689ed0a491256f7cc2 (diff)
strlcpy fix, PR 2727
Diffstat (limited to 'usr.sbin/afs')
-rw-r--r--usr.sbin/afs/src/milko/lib/msecurity/netinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/afs/src/milko/lib/msecurity/netinit.c b/usr.sbin/afs/src/milko/lib/msecurity/netinit.c
index 88521071b49..f6ff213a62d 100644
--- a/usr.sbin/afs/src/milko/lib/msecurity/netinit.c
+++ b/usr.sbin/afs/src/milko/lib/msecurity/netinit.c
@@ -99,7 +99,7 @@ server_get_key(void *appl, int kvno, des_cblock *key)
* Try also afs.realm@REALM
*/
- strlcpy(cell_name, realm_name, sizeof(realm_name));
+ strlcpy(cell_name, realm_name, sizeof(cell_name));
strlwr (cell_name);
ret = read_service_key("afs", cell_name, realm_name,
0, srvtab_filename,