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 4a141e3cf076..ef12839a7cfe 100644 --- a/net/appletalk/ddp.c +++ b/net/appletalk/ddp.c | |||
@@ -1253,7 +1253,7 @@ static int atalk_getname(struct socket *sock, struct sockaddr *uaddr, | |||
1253 | goto out; | 1253 | goto out; |
1254 | 1254 | ||
1255 | *uaddr_len = sizeof(struct sockaddr_at); | 1255 | *uaddr_len = sizeof(struct sockaddr_at); |
1256 | memset(&sat.sat_zero, 0, sizeof(sat.sat_zero)); | 1256 | memset(&sat, 0, sizeof(sat)); |
1257 | 1257 | ||
1258 | if (peer) { | 1258 | if (peer) { |
1259 | err = -ENOTCONN; | 1259 | err = -ENOTCONN; |