From 005643de2c5c0b5e635d64b1645245863b43d689 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 11 Feb 2015 09:30:30 -0600 Subject: [PATCH] Networking: Fix a compilation error recently introduced into the raw packet logic --- net/socket/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/socket/socket.c b/net/socket/socket.c index 6e2ea303b1..e44adeb3a3 100644 --- a/net/socket/socket.c +++ b/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 */