diff options
Diffstat (limited to 'net/unix/diag.c')
-rw-r--r-- | net/unix/diag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/unix/diag.c b/net/unix/diag.c index f0486ae9ebe6..47d3002737f5 100644 --- a/net/unix/diag.c +++ b/net/unix/diag.c | |||
@@ -310,7 +310,7 @@ static int unix_diag_handler_dump(struct sk_buff *skb, struct nlmsghdr *h) | |||
310 | return unix_diag_get_exact(skb, h, (struct unix_diag_req *)NLMSG_DATA(h)); | 310 | return unix_diag_get_exact(skb, h, (struct unix_diag_req *)NLMSG_DATA(h)); |
311 | } | 311 | } |
312 | 312 | ||
313 | static struct sock_diag_handler unix_diag_handler = { | 313 | static const struct sock_diag_handler unix_diag_handler = { |
314 | .family = AF_UNIX, | 314 | .family = AF_UNIX, |
315 | .dump = unix_diag_handler_dump, | 315 | .dump = unix_diag_handler_dump, |
316 | }; | 316 | }; |