2002-12-11 22:24:02

by Bob Miller

[permalink] [raw]
Subject: [TRIVIAL PATCH 2.5.51] Remove compile warning from net/sctp/sm_statefuns.c

Fixed the quoting of a string that spans multitple lines to remove
a compiler warning.

diff -Nru a/net/sctp/sm_statefuns.c b/net/sctp/sm_statefuns.c
--- a/net/sctp/sm_statefuns.c Wed Dec 11 13:41:51 2002
+++ b/net/sctp/sm_statefuns.c Wed Dec 11 13:41:51 2002
@@ -862,8 +862,8 @@
/* Check if the timestamp looks valid. */
if (time_after(hbinfo->sent_at, jiffies) ||
time_after(jiffies, hbinfo->sent_at + max_interval)) {
- SCTP_DEBUG_PRINTK("%s: HEARTBEAT ACK with invalid timestamp
- received for transport: %p\n",
+ SCTP_DEBUG_PRINTK("%s: HEARTBEAT ACK with invalid timestamp "
+ "received for transport: %p\n",
__FUNCTION__, link);
return SCTP_DISPOSITION_DISCARD;
}

--
Bob Miller Email: [email protected]
Open Source Development Lab Phone: 503.626.2455 Ext. 17