summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-05-03 23:37:34 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-05-03 23:37:34 +0000
commitfc25ee4bca28143606b609895a335acf0249ab05 (patch)
tree4c7d5bb5b1652038182ff9950eec0f39e3e9b57f /apps
parent5f82983c7540bb0a0470be79ef2a3e4bde6c3f99 (diff)
NSF update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4696 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'apps')
-rw-r--r--apps/nshlib/nsh_fscmds.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/nshlib/nsh_fscmds.c b/apps/nshlib/nsh_fscmds.c
index 92d19e3714..28a779292e 100644
--- a/apps/nshlib/nsh_fscmds.c
+++ b/apps/nshlib/nsh_fscmds.c
@@ -58,7 +58,6 @@
# include <sys/socket.h>
# include <netinet/in.h>
# include <nuttx/fs/nfs.h>
-# include <nuttx/kmalloc.h>
# endif
#endif
#endif
@@ -1340,7 +1339,7 @@ int cmd_nfsmount(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
/* Create an instance of the sockaddr_in state structure */
- sin = (struct sockaddr_in *)kzalloc(sizeof(struct sockaddr_in));
+ sin = (struct sockaddr_in *)zalloc(sizeof(struct sockaddr_in));
if (!sin)
{
nsh_output(vtbl, g_fmtcmdoutofmemory, argv[0]);