aboutsummaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket.c')
-rw-r--r--net/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c
index 01918f7a301a..6c9b9b326d76 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -825,7 +825,7 @@ static long sock_ioctl(struct file *file, unsigned cmd, unsigned long arg)
825 break; 825 break;
826 case FIOGETOWN: 826 case FIOGETOWN:
827 case SIOCGPGRP: 827 case SIOCGPGRP:
828 err = put_user(sock->file->f_owner.pid, 828 err = put_user(f_getown(sock->file),
829 (int __user *)argp); 829 (int __user *)argp);
830 break; 830 break;
831 case SIOCGIFBR: 831 case SIOCGIFBR: