[PATCH] fix sctp printk parameter types

STALE8395d

2 messages, 2 authors, 2003-08-28 · open the first message on its own page

[PATCH] fix sctp printk parameter types

From: Randy.Dunlap <hidden>
Date: 2003-08-28 05:04:31

Hi,
Please apply.

patch_name:	sctp_sizes.patch
patch_version:	2003-08-27.18:18:12
author:		Randy.Dunlap [off-list ref]
description:	sctp: fix printk parameter type (gcc warning);
product:	Linux
product_versions: 260-test4
maintainer:	sri@us.ibm.com

diff -Naur ./net/sctp/socket.c~sctpsize ./net/sctp/socket.c
--- ./net/sctp/socket.c~sctpsize	Fri Aug 22 17:03:25 2003
+++ ./net/sctp/socket.c	Wed Aug 27 10:35:06 2003
@@ -852,7 +852,7 @@
 		associd = sinfo->sinfo_assoc_id;
 	}
 
-	SCTP_DEBUG_PRINTK("msg_len: %Zd, sinfo_flags: 0x%x\n",
+	SCTP_DEBUG_PRINTK("msg_len: %d, sinfo_flags: 0x%x\n",
 			  msg_len, sinfo_flags);
 
 	/* MSG_EOF or MSG_ABORT cannot be set on a TCP-style socket. */

--
~Randy

Re: [PATCH] fix sctp printk parameter types

From: David S. Miller <hidden>
Date: 2003-08-28 08:15:19

On Wed, 27 Aug 2003 22:04:31 -0700
"Randy.Dunlap" [off-list ref] wrote:
Please apply.
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help