diff options
Diffstat (limited to 'net/econet/af_econet.c')
-rw-r--r-- | net/econet/af_econet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/econet/af_econet.c b/net/econet/af_econet.c index 596679803de5..29b4931aae52 100644 --- a/net/econet/af_econet.c +++ b/net/econet/af_econet.c | |||
@@ -612,7 +612,7 @@ static int econet_create(struct net *net, struct socket *sock, int protocol, | |||
612 | struct econet_sock *eo; | 612 | struct econet_sock *eo; |
613 | int err; | 613 | int err; |
614 | 614 | ||
615 | if (net != &init_net) | 615 | if (!net_eq(net, &init_net)) |
616 | return -EAFNOSUPPORT; | 616 | return -EAFNOSUPPORT; |
617 | 617 | ||
618 | /* Econet only provides datagram services. */ | 618 | /* Econet only provides datagram services. */ |