projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
891310d
)
sctp: replace seq_printf with seq_puts
author
Michele Baldessari
<
[email protected]
>
Thu, 30 Oct 2014 09:29:16 +0000
(10:29 +0100)
committer
David S. Miller
<
[email protected]
>
Thu, 30 Oct 2014 23:40:16 +0000
(19:40 -0400)
Fixes checkpatch warning:
"WARNING: Prefer seq_puts to seq_printf"
Signed-off-by: Michele Baldessari <
[email protected]
>
Acked-by: Neil Horman <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/sctp/proc.c
patch
|
blob
|
history
diff --git
a/net/sctp/proc.c
b/net/sctp/proc.c
index bfb242af06abe4a98e7457ab3b83982509ac7ba6..0697eda5aed8f8c897973bd173ad40d061775030 100644
(file)
--- 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_p
rintf
(seq, "0 ");
+ seq_p
uts
(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_p
rintf
(seq, "0 ");
+ seq_p
uts
(seq, "0 ");
/*
* The current state of this destination. I.e.