summaryrefslogtreecommitdiffstats
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/unix/garbage.c')
-rw-r--r--net/unix/garbage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/unix/garbage.c b/net/unix/garbage.c
index 703fdd41e..4f85caa73 100644
--- a/net/unix/garbage.c
+++ b/net/unix/garbage.c
@@ -72,9 +72,9 @@ extern inline unix_socket *unix_get_socket(struct file *filp)
struct sock * s = sock->sk;
/*
- * AF_UNIX ?
+ * PF_UNIX ?
*/
- if (s && sock->ops && sock->ops->family == AF_UNIX)
+ if (s && sock->ops && sock->ops->family == PF_UNIX)
u_sock = s;
}
return u_sock;