diff options
Diffstat (limited to 'net/appletalk/ddp.c')
-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 bfcf6be1d665..c00897f65a31 100644 --- a/net/appletalk/ddp.c +++ b/net/appletalk/ddp.c | |||
@@ -1805,7 +1805,7 @@ static int atalk_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) | |||
1805 | long amount = 0; | 1805 | long amount = 0; |
1806 | 1806 | ||
1807 | if (skb) | 1807 | if (skb) |
1808 | amount = skb->len - sizeof(struct ddpehdr); | 1808 | amount = skb->len - sizeof(struct ddpehdr); |
1809 | rc = put_user(amount, (int __user *)argp); | 1809 | rc = put_user(amount, (int __user *)argp); |
1810 | break; | 1810 | break; |
1811 | } | 1811 | } |