aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/mountd
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2017-09-26 11:11:17 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2017-09-26 11:11:17 +0000
commit89b859e39add7404330a64dc26019791985af9cd (patch)
tree579fbe322afeda4c0794469910ff5ab83117dce1 /usr.sbin/mountd
parentc13f1d82c8505633656569d8eef79895a4326e32 (diff)
Notes
Diffstat (limited to 'usr.sbin/mountd')
-rw-r--r--usr.sbin/mountd/mountd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/mountd/mountd.c b/usr.sbin/mountd/mountd.c
index 27df19e7614e5..142d50bf846fb 100644
--- a/usr.sbin/mountd/mountd.c
+++ b/usr.sbin/mountd/mountd.c
@@ -1936,7 +1936,7 @@ add_expdir(struct dirlist **dpp, char *cp, int len)
{
struct dirlist *dp;
- dp = (struct dirlist *)malloc(sizeof (struct dirlist));
+ dp = malloc(sizeof (struct dirlist));
if (dp == (struct dirlist *)NULL)
out_of_mem();
dp->dp_left = *dpp;