diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-11-13 11:31:35 +0300 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2009-11-13 11:31:35 +0300 |
commit | 1c622ae67bfc729891f5cd80795b15b87e6ac471 (patch) | |
tree | 499484792bf2bc84b204732f88a373755840742e /net | |
parent | d01032e4fd33110f9f3a085a36cb819c1dfc5827 (diff) | |
download | linux-1c622ae67bfc729891f5cd80795b15b87e6ac471.tar.xz |
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>
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; |