Archived
14
0
Fork 0

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>
This commit is contained in:
Roel Kluin 2009-11-13 09:31:35 +01:00 committed by Patrick McHardy
parent d01032e4fd
commit 1c622ae67b

View file

@ -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;