Skip to contentSkip to conversation

sctp/socket: fix printk arg. type

PATCH Applied Randy.Dunlap 2 participants 2 messages Nov 15, 2004 – Nov 18, 2004

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sctp/socket: fix printk arg. type

fix printk argument type warning:
net/sctp/socket.c:2672: warning: format argument is not a pointer (arg 5)

diffstat:=

  net/sctp/socket.c |    2 +-
  1 files changed, 1 insertion(+), 1 deletion(-)
net/sctp/socket.c renamed from net/sctp/socket.c~socket_printk +1 -1
diff -Naurp ./net/sctp/socket.c~socket_printk ./net/sctp/socket.c
@@ -2669,7 +2669,7 @@ static int sctp_getsockopt_sctp_status(s
 		goto out;
 	}
 
-	SCTP_DEBUG_PRINTK("sctp_getsockopt_sctp_status(%d): %d %d %p\n",
+	SCTP_DEBUG_PRINTK("sctp_getsockopt_sctp_status(%d): %d %d %d\n",
 			  len, status.sstat_state, status.sstat_rwnd,
 			  status.sstat_assoc_id);
 
maintainer Applied
#1 lore raw
Quoted 2 lines · On Mon, 15 Nov 2004 11:42:34 -0800 "Randy.Dunlap" <[email protected]> wrote:

fix printk argument type warning:
net/sctp/socket.c:2672: warning: format argument is not a pointer (arg 5)

Applied, thanks Randy.