summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/mountd/mountd.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/mountd/mountd.c b/usr.sbin/mountd/mountd.c
index bc3d497..1e56e10 100644
--- a/usr.sbin/mountd/mountd.c
+++ b/usr.sbin/mountd/mountd.c
@@ -1642,9 +1642,8 @@ get_exportlist(void)
struct iovec *iov;
struct statfs *fsp, *mntbufp;
struct xvfsconf vfc;
- char *dirp;
char errmsg[255];
- int dirplen, num, i;
+ int num, i;
int iovlen;
int done;
struct nfsex_args eargs;
@@ -1652,8 +1651,6 @@ get_exportlist(void)
v4root_dirpath[0] = '\0';
bzero(&export, sizeof(export));
export.ex_flags = MNT_DELEXPORT;
- dirp = NULL;
- dirplen = 0;
iov = NULL;
iovlen = 0;
bzero(errmsg, sizeof(errmsg));
OpenPOWER on IntegriCloud