summaryrefslogtreecommitdiff
path: root/nuttx/lib
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-06 22:30:48 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-06 22:30:48 +0000
commit873dfa2ae7f7eb298fbae5a1e3e22d4877bbcb30 (patch)
treed8041e70cea9bd05b630e2b499803d39731ef434 /nuttx/lib
parent48dd111c71faf703e2ec28f59b0388208e0257bf (diff)
downloadpx4-nuttx-873dfa2ae7f7eb298fbae5a1e3e22d4877bbcb30.tar.gz
px4-nuttx-873dfa2ae7f7eb298fbae5a1e3e22d4877bbcb30.tar.bz2
px4-nuttx-873dfa2ae7f7eb298fbae5a1e3e22d4877bbcb30.zip
Fix typo in lib_inetntoa.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4916 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/lib')
-rw-r--r--nuttx/lib/net/lib_inetntoa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/lib/net/lib_inetntoa.c b/nuttx/lib/net/lib_inetntoa.c
index f771e6b90..0f4fb61df 100644
--- a/nuttx/lib/net/lib_inetntoa.c
+++ b/nuttx/lib/net/lib_inetntoa.c
@@ -69,7 +69,7 @@ FAR char *inet_ntoa(struct in_addr in)
#else
FAR char *_inet_ntoa(in_addr_t in)
{
- static char buffer[NET_ADDRSTRLEN+2];
+ static char buffer[INET_ADDRSTRLEN+2];
FAR char *ptr = (FAR char*)&in;
sprintf(buffer, "%d.%d.%d.%d", ptr[0], ptr[1], ptr[2], ptr[3]);
return buffer;