diff options
author | des <des@FreeBSD.org> | 2008-10-23 20:26:15 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2008-10-23 20:26:15 +0000 |
commit | a1e1ad22e07d384a9609e60cdf00daf7cac902cf (patch) | |
tree | 8c9f9efa0a9f52794e2ce1fe47128f50d30f8c28 /sys/fs/ntfs/ntfs_vfsops.c | |
parent | 0b81365bc66eb70b9d9b1466012b41f8ccdec19a (diff) | |
download | FreeBSD-src-a1e1ad22e07d384a9609e60cdf00daf7cac902cf.zip FreeBSD-src-a1e1ad22e07d384a9609e60cdf00daf7cac902cf.tar.gz |
Fix a number of style issues in the MALLOC / FREE commit. I've tried to
be careful not to fix anything that was already broken; the NFSv4 code is
particularly bad in this respect.
Diffstat (limited to 'sys/fs/ntfs/ntfs_vfsops.c')
-rw-r--r-- | sys/fs/ntfs/ntfs_vfsops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/ntfs/ntfs_vfsops.c b/sys/fs/ntfs/ntfs_vfsops.c index 6baaca1..7b57949 100644 --- a/sys/fs/ntfs/ntfs_vfsops.c +++ b/sys/fs/ntfs/ntfs_vfsops.c @@ -416,7 +416,7 @@ ntfs_mountfs(devvp, mp, td) } /* Alloc memory for attribute definitions */ - ntmp->ntm_ad = malloc( num * sizeof(struct ntvattrdef), + ntmp->ntm_ad = malloc(num * sizeof(struct ntvattrdef), M_NTFSMNT, M_WAITOK); ntmp->ntm_adnum = num; |