diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-03-06 13:44:06 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-03-06 13:44:06 -0800 |
commit | 1e51f9513e6b021abcaefd7c76f9b5d682f83232 (patch) | |
tree | e6728f9d8e9b403372432b1982f86c5563156077 /net/core/sock.c | |
parent | 64a146513f8f12ba204b7bf5cb7e9505594ead42 (diff) |
[NET]: Fix compat_sock_common_getsockopt typo.
This patch fixes a typo in compat_sock_common_getsockopt.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/sock.c')
-rw-r--r-- | net/core/sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/sock.c b/net/core/sock.c index e9986acdd0ab..8d65d6478dcd 100644 --- a/net/core/sock.c +++ b/net/core/sock.c @@ -1597,7 +1597,7 @@ int compat_sock_common_getsockopt(struct socket *sock, int level, int optname, { struct sock *sk = sock->sk; - if (sk->sk_prot->compat_setsockopt != NULL) + if (sk->sk_prot->compat_getsockopt != NULL) return sk->sk_prot->compat_getsockopt(sk, level, optname, optval, optlen); return sk->sk_prot->getsockopt(sk, level, optname, optval, optlen); |