diff options
Diffstat (limited to 'net/sctp/sm_make_chunk.c')
-rw-r--r-- | net/sctp/sm_make_chunk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c index 578630e8e00d..c8982452580e 100644 --- a/net/sctp/sm_make_chunk.c +++ b/net/sctp/sm_make_chunk.c | |||
@@ -1782,7 +1782,7 @@ static int sctp_process_inv_paramlength(const struct sctp_association *asoc, | |||
1782 | const struct sctp_chunk *chunk, | 1782 | const struct sctp_chunk *chunk, |
1783 | struct sctp_chunk **errp) | 1783 | struct sctp_chunk **errp) |
1784 | { | 1784 | { |
1785 | char error[] = "The following parameter had invalid length:"; | 1785 | static const char error[] = "The following parameter had invalid length:"; |
1786 | size_t payload_len = WORD_ROUND(sizeof(error)) + | 1786 | size_t payload_len = WORD_ROUND(sizeof(error)) + |
1787 | sizeof(sctp_paramhdr_t); | 1787 | sizeof(sctp_paramhdr_t); |
1788 | 1788 | ||