diff options
| author | Emmanuel Vadot <manu@FreeBSD.org> | 2017-09-26 11:11:17 +0000 |
|---|---|---|
| committer | Emmanuel Vadot <manu@FreeBSD.org> | 2017-09-26 11:11:17 +0000 |
| commit | 89b859e39add7404330a64dc26019791985af9cd (patch) | |
| tree | 579fbe322afeda4c0794469910ff5ab83117dce1 /usr.sbin/mountd | |
| parent | c13f1d82c8505633656569d8eef79895a4326e32 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/mountd')
| -rw-r--r-- | usr.sbin/mountd/mountd.c | 2 |
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; |
