diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-06 22:30:48 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-06 22:30:48 +0000 |
commit | 873dfa2ae7f7eb298fbae5a1e3e22d4877bbcb30 (patch) | |
tree | d8041e70cea9bd05b630e2b499803d39731ef434 /nuttx/lib/net | |
parent | 48dd111c71faf703e2ec28f59b0388208e0257bf (diff) | |
download | px4-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/net')
-rw-r--r-- | nuttx/lib/net/lib_inetntoa.c | 2 |
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*)∈ sprintf(buffer, "%d.%d.%d.%d", ptr[0], ptr[1], ptr[2], ptr[3]); return buffer; |