diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-05-12 19:39:51 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-05-12 19:39:51 +0000 |
commit | 1d3dc9a67ca921abc8cd16129865fcc2291cd68f (patch) | |
tree | 6d19838297262a5a6e934cf560e56934ffbc5f3a /nuttx/arch/rgmp | |
parent | a8e517e441321234408c33a742e861f0bba56184 (diff) | |
download | px4-nuttx-1d3dc9a67ca921abc8cd16129865fcc2291cd68f.tar.gz px4-nuttx-1d3dc9a67ca921abc8cd16129865fcc2291cd68f.tar.bz2 px4-nuttx-1d3dc9a67ca921abc8cd16129865fcc2291cd68f.zip |
Changes for clean RGMP compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3598 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/rgmp')
-rw-r--r-- | nuttx/arch/rgmp/src/com.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/rgmp/src/com.c b/nuttx/arch/rgmp/src/com.c index 206a2ddc9..7f3f5028e 100644 --- a/nuttx/arch/rgmp/src/com.c +++ b/nuttx/arch/rgmp/src/com.c @@ -172,11 +172,11 @@ static uart_dev_t *up_alloc_com(unsigned int base, int irq) uart_dev_t *dev; struct up_dev_s *priv; - priv = kzmalloc(sizeof(struct up_dev_s)); + priv = kzalloc(sizeof(struct up_dev_s)); if (priv == NULL) goto err0; - dev = kzmalloc(sizeof(uart_dev_t)); + dev = kzalloc(sizeof(uart_dev_t)); if (dev == NULL) goto err1; |