diff options
author | Patrick McHardy <kaber@trash.net> | 2009-11-19 04:59:03 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-19 13:16:26 -0800 |
commit | d667b9cfd09a2ca61f74a9edc73d08d2ad0d14da (patch) | |
tree | 4052d37435e9d46a29261151601a5d24dba059cb /net | |
parent | 2b1c8b0f925c3f5943cf95d263d72927baae88e7 (diff) | |
download | blackbird-obmc-linux-d667b9cfd09a2ca61f74a9edc73d08d2ad0d14da.tar.gz blackbird-obmc-linux-d667b9cfd09a2ca61f74a9edc73d08d2ad0d14da.zip |
netfilter: xt_osf: fix xt_osf_remove_callback() return value
Return a negative error value.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/netfilter/xt_osf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_osf.c b/net/netfilter/xt_osf.c index 63e190504656..4d1a41bbd5d7 100644 --- a/net/netfilter/xt_osf.c +++ b/net/netfilter/xt_osf.c @@ -118,7 +118,7 @@ static int xt_osf_remove_callback(struct sock *ctnl, struct sk_buff *skb, { struct xt_osf_user_finger *f; struct xt_osf_finger *sf; - int err = ENOENT; + int err = -ENOENT; if (!osf_attrs[OSF_ATTR_FINGER]) return -EINVAL; |