diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/appletalk/ddp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/appletalk/ddp.c b/net/appletalk/ddp.c index 01a1082e02b3..8ceabc073658 100644 --- a/net/appletalk/ddp.c +++ b/net/appletalk/ddp.c | |||
@@ -1808,7 +1808,7 @@ static int atalk_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) | |||
1808 | long amount = 0; | 1808 | long amount = 0; |
1809 | 1809 | ||
1810 | if (skb) | 1810 | if (skb) |
1811 | amount = skb->len - sizeof(struct ddpehdr); | 1811 | amount = skb->len - sizeof(struct ddpehdr); |
1812 | rc = put_user(amount, (int __user *)argp); | 1812 | rc = put_user(amount, (int __user *)argp); |
1813 | break; | 1813 | break; |
1814 | } | 1814 | } |