summaryrefslogtreecommitdiff
path: root/sbin/mountd
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-06-14 21:57:45 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-06-14 21:57:45 +0000
commitda02299fe9286e4cc47e7dc45fe5e187014fa62b (patch)
treecbc6ca89abb87aea7e4bd4d8b67774edf03e8756 /sbin/mountd
parent4b285773bdb76f222c9cc2e367aa3c0a5487339c (diff)
a typo i made
Diffstat (limited to 'sbin/mountd')
-rw-r--r--sbin/mountd/mountd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/mountd/mountd.c b/sbin/mountd/mountd.c
index 11a53c7dd08..6241f2fc1e7 100644
--- a/sbin/mountd/mountd.c
+++ b/sbin/mountd/mountd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mountd.c,v 1.36 2001/05/11 18:35:21 mickey Exp $ */
+/* $OpenBSD: mountd.c,v 1.37 2001/06/14 21:57:44 mickey Exp $ */
/* $NetBSD: mountd.c,v 1.31 1996/02/18 11:57:53 fvdl Exp $ */
/*
@@ -2001,7 +2001,7 @@ add_mlist(hostp, dirp)
}
mlp = (struct mountlist *)malloc(sizeof (*mlp));
strlcpy(mlp->ml_host, hostp, sizeof(mlp->ml_host));
- strlcpy(mlp->ml_dirp, dirp, sizeof(mlp->ml_dirp, dirp));
+ strlcpy(mlp->ml_dirp, dirp, sizeof(mlp->ml_dirp));
mlp->ml_next = NULL;
*mlpp = mlp;
if ((mlfile = fopen(_PATH_RMOUNTLIST, "a")) == NULL) {