Reanem kzalloc to kmm_zalloc for consistency

This commit is contained in:
Gregory Nutt
2014-08-31 17:34:44 -06:00
parent ff2442a02e
commit 205260d5e2
76 changed files with 116 additions and 116 deletions
+2 -2
View File
@@ -306,7 +306,7 @@ static int fat_open(FAR struct file *filep, const char *relpath,
* file.
*/
ff = (struct fat_file_s *)kzalloc(sizeof(struct fat_file_s));
ff = (struct fat_file_s *)kmm_zalloc(sizeof(struct fat_file_s));
if (!ff)
{
ret = -ENOMEM;
@@ -1756,7 +1756,7 @@ static int fat_bind(FAR struct inode *blkdriver, const void *data,
/* Create an instance of the mountpt state structure */
fs = (struct fat_mountpt_s *)kzalloc(sizeof(struct fat_mountpt_s));
fs = (struct fat_mountpt_s *)kmm_zalloc(sizeof(struct fat_mountpt_s));
if (!fs)
{
return -ENOMEM;