|
@@ -1173,7 +1173,7 @@ static int nr_recvmsg(struct kiocb *iocb, struct socket *sock,
|
|
|
}
|
|
|
|
|
|
if (sax != NULL) {
|
|
|
- memset(sax, 0, sizeof(sax));
|
|
|
+ memset(sax, 0, sizeof(*sax));
|
|
|
sax->sax25_family = AF_NETROM;
|
|
|
skb_copy_from_linear_data_offset(skb, 7, sax->sax25_call.ax25_call,
|
|
|
AX25_ADDR_LEN);
|