summaryrefslogtreecommitdiffstats
path: root/net/sctp/proc.c
diff options
context:
space:
mode:
authorMichele Baldessari <michele@acksyn.org>2014-10-30 10:29:16 +0100
committerDavid S. Miller <davem@davemloft.net>2014-10-31 00:40:16 +0100
commitafb6befce60e3a8b09f7633b9e34e702a72adc0e (patch)
tree95ada51d35cd319943d8fa96e3b5bb542e04d062 /net/sctp/proc.c
parentsctp: add transport state in /proc/net/sctp/remaddr (diff)
downloadlinux-afb6befce60e3a8b09f7633b9e34e702a72adc0e.tar.xz
linux-afb6befce60e3a8b09f7633b9e34e702a72adc0e.zip
sctp: replace seq_printf with seq_puts
Fixes checkpatch warning: "WARNING: Prefer seq_puts to seq_printf" Signed-off-by: Michele Baldessari <michele@acksyn.org> Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/proc.c')
-rw-r--r--net/sctp/proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/proc.c b/net/sctp/proc.c
index bfb242af06ab..0697eda5aed8 100644
--- a/net/sctp/proc.c
+++ b/net/sctp/proc.c
@@ -490,14 +490,14 @@ static int sctp_remaddr_seq_show(struct seq_file *seq, void *v)
* Note: We don't have a way to tally this at the moment
* so lets just leave it as zero for the moment
*/
- seq_printf(seq, "0 ");
+ seq_puts(seq, "0 ");
/*
* remote address start time (START). This is also not
* currently implemented, but we can record it with a
* jiffies marker in a subsequent patch
*/
- seq_printf(seq, "0 ");
+ seq_puts(seq, "0 ");
/*
* The current state of this destination. I.e.