diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-08-31 17:34:44 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-08-31 17:34:44 -0600 |
commit | f8d20db23e41f2cb8f1e99f8f4f7965c215c9677 (patch) | |
tree | 45c7a57c201427409d0f4b78c803d6e240f79f43 /nuttx/graphics | |
parent | 306de6c62392400107ea8a9d6e3aa13dd202b742 (diff) | |
download | nuttx-f8d20db23e41f2cb8f1e99f8f4f7965c215c9677.tar.gz nuttx-f8d20db23e41f2cb8f1e99f8f4f7965c215c9677.tar.bz2 nuttx-f8d20db23e41f2cb8f1e99f8f4f7965c215c9677.zip |
Reanem kzalloc to kmm_zalloc for consistency
Diffstat (limited to 'nuttx/graphics')
-rw-r--r-- | nuttx/graphics/nxconsole/nxcon_register.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/graphics/nxconsole/nxcon_register.c b/nuttx/graphics/nxconsole/nxcon_register.c index 0e660aff0..33f95520b 100644 --- a/nuttx/graphics/nxconsole/nxcon_register.c +++ b/nuttx/graphics/nxconsole/nxcon_register.c @@ -84,7 +84,7 @@ FAR struct nxcon_state_s * /* Allocate the driver structure */ - priv = (FAR struct nxcon_state_s *)kzalloc(sizeof(struct nxcon_state_s)); + priv = (FAR struct nxcon_state_s *)kmm_zalloc(sizeof(struct nxcon_state_s)); if (!priv) { gdbg("Failed to allocate the NX driver structure\n"); |