summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-02-11 09:30:30 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-02-11 09:30:30 -0600
commit8727159fa333a1aab7cead2928cfca06a9ec00fd (patch)
tree1c0b26857a3d2f24289c29b3655dee7436b03213
parent5591e686828e115c08683fc75fa8c105719188b1 (diff)
downloadnuttx-8727159fa333a1aab7cead2928cfca06a9ec00fd.tar.gz
nuttx-8727159fa333a1aab7cead2928cfca06a9ec00fd.tar.bz2
nuttx-8727159fa333a1aab7cead2928cfca06a9ec00fd.zip
Networking: Fix a compilation error recently introduced into the raw packet logic
-rw-r--r--nuttx/net/socket/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/net/socket/socket.c b/nuttx/net/socket/socket.c
index 6e2ea303b..e44adeb3a 100644
--- a/nuttx/net/socket/socket.c
+++ b/nuttx/net/socket/socket.c
@@ -471,7 +471,7 @@ int psock_socket(int domain, int type, int protocol, FAR struct socket *psock)
#ifdef CONFIG_NET_PKT
case SOCK_RAW:
{
- ret = psock_pkt_alloc(FAR struct socket *psock)
+ ret = psock_pkt_alloc(psock);
if (ret < 0)
{
/* Failed to reserve a connection structure */