Skip to content

Commit

Permalink
sctp: replace seq_printf with seq_puts
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mbaldessari authored and davem330 committed Oct 30, 2014
1 parent 891310d commit afb6bef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/sctp/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit afb6bef

Please sign in to comment.