Skip to content

Commit

Permalink
netfilter: xt_osf: fix xt_osf_remove_callback() return value
Browse files Browse the repository at this point in the history
Return a negative error value.

Signed-off-by: Roel Kluin <[email protected]>
Signed-off-by: Patrick McHardy <[email protected]>
  • Loading branch information
RoelKluin authored and kaber committed Nov 13, 2009
1 parent d01032e commit 1c622ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/netfilter/xt_osf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1c622ae

Please sign in to comment.