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
@@ -226,7 +226,7 @@ static int romfs_open(FAR struct file *filep, FAR const char *relpath,
* file.
*/
rf = (FAR struct romfs_file_s *)kzalloc(sizeof(struct romfs_file_s));
rf = (FAR struct romfs_file_s *)kmm_zalloc(sizeof(struct romfs_file_s));
if (!rf)
{
fdbg("Failed to allocate private data\n", ret);
@@ -916,7 +916,7 @@ static int romfs_bind(FAR struct inode *blkdriver, FAR const void *data,
/* Create an instance of the mountpt state structure */
rm = (FAR struct romfs_mountpt_s *)kzalloc(sizeof(struct romfs_mountpt_s));
rm = (FAR struct romfs_mountpt_s *)kmm_zalloc(sizeof(struct romfs_mountpt_s));
if (!rm)
{
fdbg("Failed to allocate mountpoint structure\n");