sctp/socket: fix printk arg. type
Subsystems (3)
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(-)
Signed-off-by Randy Dunlap <[email protected]>
net/sctp/socket.c renamed from net/sctp/socket.c~socket_printk +1 -1
@@ -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);
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.