From 1d3dc9a67ca921abc8cd16129865fcc2291cd68f Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 12 May 2011 19:39:51 +0000 Subject: Changes for clean RGMP compile git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3598 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/arch/rgmp/src/com.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nuttx/arch/rgmp') 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; -- cgit v1.2.3